Э
В итоге, нужно создать 2 класса для энтити: один имплементит Persistable и в методе isNew() возвращает true, второй чисто для обновления
Size: a a a
Э
Э
АЕ
D𝔇
D𝔇
Э
D𝔇
RG
A
A
@Query(nativeQuery = true, name="PlanFactReportRepository.Totals")
fun totals(
@Param("dateFrom") dateFrom: Date,
@Param("dateTo") dateTo: Date
) : PlanFactReportTotals
A
A
Caused by: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.math.BigInteger] to type [....PlanFactReportTotals]
A
A
A
DS
A
t
ZE
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaAuditingHandler': Cannot resolve reference to bean 'jpaMappingContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaMappingContext': Invocation of init method failed; nested exception is org.hibernate.AnnotationException: Attribute [com.example.easynotes.Note2.status] was annotated as enumerated, but its java type is not an enum [java.lang.String]