hibernate-annotations
hibernate composite Primary key contains a composite foreign key, how to map this
I searched there, and didn\'t find any similar topic, so I am posting a new question. I am working with Hibernate on an existing Database. The table 开发者_JAVA技巧structure and data we are not allow[详细]
2022-12-19 15:16 分类:问答Is it possible to create indices on join table using Hibernate annotations and hbm2ddl?
I have a two entities in many-to-many association. Hibernate creates a join table for this association if hbm2ddl is activated. However, since I do not have an entity for this table, I can not apply @[详细]
2022-12-19 11:06 分类:问答Can a @OneToOne relationship contain a @ForiegnKey annotation
Does it make sense to have a @OneToOne member contain a @ForiegnKey annotation. @Entity class User { @Id[详细]
2022-12-19 04:16 分类:问答Hibernate cascade delete not working when removing element of recreated bean
Supposing these are my parent and my child objects: Parent: @Entity @Table( name = \"import_table\" ) public class ImportTable {[详细]
2022-12-14 13:05 分类:问答Hibernate - moving annotations from property (method) level to field level
How do I generate hibernate domain classes from tables with annotations at field level? I used Hibernate Tools project and generated domain classes from the tables in the database. The generated class[详细]
2022-12-13 21:57 分类:问答hibernate @DiscriminatorValue does not apply to associations
I have the following inheritance hierarchy. @Entity @Table(FRUIT) @Inheritance(strategy=InheritanceType.SINGLE_TABLE)[详细]
2022-12-11 11:15 分类:问答