hibernate-mapping
Hibernate reverse engineering - mapping a table to Java enum
I\'m working on a project where I am using JBoss 开发者_Python百科Tools to reverse engineer an MS SqlServer database into Hibernate objects. I am wondering if there is a way to map some of the tables[详细]
2023-04-11 12:18 分类:问答Bidirectional relationship with superclass entity property in JPA
I\'m tying to implement some tree-like structure with JPA. I have a \"folder\" entity and a \"test\" entity. Folder can contain both folders and tests. Test doesnt contains anything.[详细]
2023-04-10 10:49 分类:问答Hibernate parent/child relationship. Why is object saved twice?
I am looking into Hibernate\'s parent/child relationships. I have 3 entities Employee Customers and Orders.[详细]
2023-04-10 03:58 分类:问答Hibernate: Using collection of complex objects throws exceptions
I am looking into Hibernate and storing collections of complex types. But I run into exception. I have the following persistent class:[详细]
2023-04-09 04:28 分类:问答Hibernate Mapping same Column twice
How can fix this thing Repeated column in mapping for entity: com.abc.domain.PersonConnect column: PERSON_ID (should be mapped with insert=\"false\"[详细]
2023-04-09 02:31 分类:问答How to change this Hibernate property to not require a SQL statement
I am using Hibernate dynamic-map to load DataEntry objects in my application. When I load any given DataEntry object, I want to retrieve the descriptive value of its InformationTypeId column. The Data[详细]
2023-04-08 05:20 分类:问答How can I prevent Hibernate from updating NULL values
Is there a setting in hibernate to ignore null values of properties when saving a hibernate object? NOTE[详细]
2023-04-06 23:08 分类:问答I need to carry forward the primary table's primary key to a foreign key field in dependent table
I have 2 entities Customer and address please find the code below, I have omitted boiler plate code for simplicity.[详细]
2023-04-06 16:55 分类:问答Hibernate one-to-one and one-to-many
I currently have a one-to-many relation between 2 table: I have: Table A (id, ...) Table B (tableAId, ...) (has no id of it\'s own).[详细]
2023-04-06 02:54 分类:问答Mapping Hibernate to MySQL (BEGINNER)
Is there a way to map an Entity class (Address.java) to MySQL without using Hibernate Mapping (.hbm files)[详细]
2023-04-03 17:53 分类:问答