hibernate-mapping
How to map a Map<Calendar,Boolean> with jpa/hibernate
i\'ve got 2 tables: Seat(roomID,seatID,...) SeatState(roomID,seatID,date,state) i wa开发者_如何学Cnna create a seat class and i would like this class to have a Map attribute. does somebody know how[详细]
2023-03-10 03:10 分类:问答Hibernate configuration with mysql gives ERROR - SAXParseException
I\'m trying to configure hibernate with mysql. Following is the hibernate.cfg.xml: <hibernate-configuration>[详细]
2023-03-08 14:55 分类:问答How to set up "one-to-many" mapping of List objects by XML without index column
I can set up \"one-to-many\" mapping of List objects by using annotations, however using XML is not. Could you tell me how to set up using XML mapping. Any help will be appreciated.[详细]
2023-03-07 05:36 分类:问答hibernate field of type map requires nullable = true
Using hibernate 3.6.3.Final I have this Mapping in an entity. @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER)[详细]
2023-03-04 09:36 分类:问答hibernate grandfather , parent ,child mapping problem
I have a problem where I have this three grandfather parent and child and I am trying to get from parent all his children he gives me an half of is children odd as it seemes I just cant understand wh[详细]
2023-03-02 23:44 分类:问答which solution is good practice hibernate save data in database?
I have two entities which are Student and Class entities. Student and Class are many to one relationship. So student contains class attribute.[详细]
2023-03-01 13:53 分类:问答HIbernate and eager loading of collections
I have a 1-many relationship between class A and class B, represented by a foreign key relation between two tables in the database.and I want hibernate to eagerly load the collection of Bs so that it[详细]
2023-03-01 08:04 分类:问答Component within Component in hibernate mapping
Can we us开发者_Python百科e component inside component in hibernate mapping file?Do you mean a one-to-one, one-to-many, or many-to-many relationship between two objects?Of course you can:[详细]
2023-02-27 01:34 分类:问答Grails & JPA annotations + hibernate mapping files. How to get rid of this error?
I\'m trying to reuse some of the entity classes with JPA-annotations in my project. But unfortunately I\'m newbie in Hibernate & JPA too. When I try to generate controllers with command[详细]
2023-02-26 15:50 分类:问答IllegalArgumentException in class: ..., getter method of property: id
I have two classes Role and Privilege with the relation ManyToMany. When adding a Privilege to a Role, and then calling saveOrUpdate(role), I get the exception below.[详细]
2023-02-26 15:35 分类:问答