hibernate-annotations
Mapping multiple-row per item objects in Hibernate
I\'m encountering somewhat of an, uh, unorthodox design and I\'m not quite sure how to handle it. The table I\'m trying to map looks like:[详细]
2023-01-13 23:10 分类:问答HibernateToolTask (hbm2hbmxml) doesn't generate index in hibernate-mapping from @org.hibernate.annotations.Index annotations
I am trying to generate hibernate-mapping from POJOs with hibernate annotations. Then I want to use liquibase to generate database schema.[详细]
2023-01-12 22:43 分类:问答Can annotation be added to decelerations
Can we add annotations to the decelerations instead to the getter methods. I\'m used to this @Column(name=\"Part_ID\")[详细]
2023-01-07 02:03 分类:问答Cannot instantiate abstract class or interface : problem while persisting
i have a class campaign that maintains a list of AdGroupInterfaces. im going to persist its implementation[详细]
2023-01-02 04:39 分类:问答Hibernate annotated many-to-one not adding child to parent Collection
I have the following annotated Hibernate entity classes: @Entity public class Cat { @Column(name = \"ID\") @GeneratedValue(strategy = GenerationType.AUTO) @Id[详细]
2023-01-01 10:24 分类:问答Problem with 2 levels of inheritance in hibernate mapping
Here\'s my class structure: class A class B extends A class C extends A class D extends C class E extends C[详细]
2022-12-31 21:23 分类:问答Joining tables with composite keys in a legacy system in hibernate
I\'m currently trying to create a pair of Hibernate annotated classes to load (read only) from a pair of tables in a legacy system. The legacy system uses a consistent (if somewhat dated) approach to[详细]
2022-12-29 12:45 分类:问答Variable length Blob in hibernate?
I have a byte[] member in one of my persistable classes. Normally, I\'d just annotate it with @Lob and @Column(name=\"foo\", size=). In this particular case, however, the length of the byte[] can vary[详细]
2022-12-27 04:54 分类:问答Hibernate Annotation for Entity existing in more than 1 catalog
I have a Person entity mapped by Hibernate to a databa开发者_高级运维se table in a database catalog \"Active\".After a period of time, records in this database table in the \"Active\" catalog are arch[详细]
2022-12-22 09:35 分类:问答JPA/Hibernate DDL generation; CHAR vs. VARCHAR
I have a JPA/Hibernate data model that I am using the Hibernate hbm2ddl tool to generate database DDL. I have some strings that should be CHAR and some that may be VARCHAR in the database. I want to m[详细]
2022-12-20 19:10 分类:问答