tag « ID « JPA Q&A





1. Custom Type inside Hibernate tag?    forum.hibernate.org

java class: Code: public class Warehouse implements Serializable { private UniqueKey id; mapping: Code: ...

2. Use Custom User Type in Id tag    forum.hibernate.org

Hi, I'am using Hibernate 2.1.8 and working good, but now I have tried to use Custom User Type in ID tag: ...> Now I have problems if I try to load an object that contains a relation with that class. Sometimes it is not able to load the object, other times it ...

3.  tags    forum.hibernate.org

How would you go abouts using a class as a id? I have a class called delivery which does not have a id field but it contains a field that is an Order which uniquely identfy it. How would I map such an Id? Code: public class Delivery { private Order __order; ...

4. Problem with tag id obligatory in definition class    forum.hibernate.org

Hi, I have a class in my application that does not have an attribute id, because the primary key for the table in the BD it is generated as a sequence that is updated from the application, and I am not interested in storing this id in the class. In the file .hbm when I write the definition of the class, ...

5. Id tag    forum.hibernate.org

6. Use of unsaved-value in tag    forum.hibernate.org