![]() ![]() Import schema="ia_req_changes", sequenceName = "accCriteria_tbl_accCri_id_seq", initialValue = 1, allocationSize = 1) Here is my class definition: import javax.persistence.* I have reviewed my annotations and setup of the project and have been unsuccessful in locating the my error. When I check the database, I discovered I have duplicate entities for those domain objects using annotation. When I run my unit tests for checking the database entities for the JDBC Template objects, all is fine. The JPA set of objects have relationships mapped out using the JPA annotations. The other set of domain objects use JPA annotations. Two objects do not use annotation and use a JDBCTemplate class for database operation. I have a set of domain objects that access a Postgres database. I am using Spring Boot, Gradle and Postgres for my environment. The annotation is a marker annotation, which is used to discover persistent entities.I am relearning Hibernate and JPA. In order to define an entity, you must create a class that is annotated with the annotation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |