我正在使用JPA 2.1(Eclipselink供应商)@SqlResultSetMapping将sql查询映射到none实体POJO,当sql结果不为空但my表为空时,它可以工作
我的POJO的构建失败,但有以下例外:
2016-05-30 11:44:17,154 [tp520017379-230] ERROR - Exception [EclipseLink-6177] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.QueryException
Exception Description: The column result [st_agg] was not found in the results of the query.
Query: ResultSetMappingQuery(name="nodeStatusAggQuery" sql="select max(status) as st_agg, max(clock_accuracy_health) as cac_agg, max(clock_analysis_health) as can_agg, max(ptp_net_analysis_health) as na_agg from sync_node where ncd_id = ? and type =?")
javax.persistence.PersistenceException: Exception [EclipseLink-6177] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.QueryException
Exception Description: The column result [st_agg] was not found in the results of the query. …Run Code Online (Sandbox Code Playgroud) 我正在使用 Spring Boot 2.2.5 并通过 Spring Boot Actuator 和 Grafana 监控我的应用程序指标。
我的应用程序是用Docker(OpenJdk11)打包的,并配置了4GB内存
我的 gc 暂停时间很长,大约需要 1-2 秒,并且它与高jvm.gc.memory.allocated相关。
jvm.gc.memory.allocated 指标有时会达到30GB
谁能解释jvm.gc.memory.alulated指标?这是什么意思 ?
garbage-collection memory-management spring-boot spring-boot-actuator openjdk-11