You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in #314, we currently use Java Instant since Spring data JPA doesn't reconigze Kotlin Instant as a Basic Type for annotation @CreatedBy, this results all the Entity inherited this class using Java Instant, which is -- all database tables.
This brings confusion and unneeded conversion, as core and rest of webservice is using Kotlin Instant.
To cosider:
write a one-to-one mapper for Auditable class for Spring data JPA understand how to translate it.
override this annotation
stop using Spring data JPA, which might also make sense we don't need auto generated controllers for those data, and we are switching away from default CRUD methods..
The text was updated successfully, but these errors were encountered:
As mentioned in #314, we currently use Java Instant since Spring data JPA doesn't reconigze Kotlin Instant as a Basic Type for annotation
@CreatedBy
, this results all the Entity inherited this class using Java Instant, which is -- all database tables.This brings confusion and unneeded conversion, as core and rest of webservice is using Kotlin Instant.
To cosider:
Auditable
class for Spring data JPA understand how to translate it.The text was updated successfully, but these errors were encountered: