Hibernate uses mapping metadata to find out how to load and store objects of the persistent class.
I'm using Hibernate with Xml mappings. I have an entity that has two fields creationDate and updateDate of type timestamp, …
hibernate orm hibernate-mapping hbmI've been trying to map the following tables into Hibernate with hbm files: CREATE TABLE additional_info ( info_id SMALLINT, …
java hibernate hibernate-mapping hbmI was having problems today with lazy loading not working when using a mapped by collection. I found this excellent …
java hibernate hibernate-mappingI am using Hibernate 5.2.7.Final, and native Hibernate API. I have an Employee entity with recursive relations: @Entity public class …
hibernate recursion parent-child hibernate-mapping jpa-annotationsclass Student public class Student { private Long id; private String name; private String className; private List<Phone> phones; // …
java hibernate hibernate-mapping hibernate-onetomanyWhen i am doing sample Hibernate standalone program, little bit confusing was created in my mind with the usage of @…
java hibernate jpa orm hibernate-mappingI need to use @OrderBy (JPA, Hibernate as provider) to sort collection for nested property: @OneToMany(mappedBy = "paramSpec", cascade = CascadeType.…
java hibernate jpa orm hibernate-mappingI have DAO implementation over spring-data: public interface TestDataRepository extends CrudRepository<DpConfigData, Long> { @Query(value = "select distinct(oid) …
postgresql hibernate-mapping spring-data-jpaEnvironment: Hibernate 4.1.6.final Spring 3.1.2.release Spring JPA 1.1.0.release PostgreSQL 9.1-901-1.jdbc4 I decided to rephrase the questions. There are 2 …
java hibernate jpa hibernate-mappingLets say we have two Entities, Entity Node and Entity Cluster. A Cluster has many Nodes. A Node can belong …
hibernate jpa spring-data hibernate-mapping