hibernate-mapping
how to map a LinkedHashMap with Hibernate?
I would like to map a LinkedHashMap with Hibernate (annotation driven). I know the property @MapKey and @IndexColumn, but can I used both to map a linkedhashmap with basics strings ?[详细]
2023-03-19 00:44 分类:问答One to many mapping with many possibilities
I\'m trying to persist my data but am having trouble coming up with a schema that will work for hibernate in a sane way[详细]
2023-03-18 20:29 分类:问答org.hibernate.MappingException: Association references unmapped class
The configuration for User class : <class name=\"User\" table=\"users\" lazy=\"false\"> <id name=\"id\" column=\"id\">[详细]
2023-03-18 18:29 分类:问答Hibernate update table
I开发者_StackOverflow中文版 am new to Hibernate and following the tutorial at http://www.vaannila.com/hibernate/hibernate-example/hibernate-mapping-one-to-many-using-annotations-1.html, I have a quest[详细]
2023-03-17 20:58 分类:问答How do I map a BigDecimal in Hibernate so I get back the same scale I put in?
In Java, new BigDecimal(\"1.0\"开发者_JAVA技巧) != new BigDecimal(\"1.00\") i.e., scale matters.[详细]
2023-03-16 11:00 分类:问答Hibernate: Problem with mapping
I have a problem with hibernate. ((( !!! Image with Database Schema !!! Mapping (for getter\'s/setter\'s i use lo开发者_JAVA百科mbok)[详细]
2023-03-14 04:55 分类:问答Hibernate - How to disable mapping for a column
When tagged as @Entity, each attribute of a class is mapped to one database column. I have some classes where I want to add some fields for internal usage, but I don\'t开发者_开发百科 want them to be[详细]
2023-03-12 06:19 分类:问答How to add a "where" to Hibernate many-to-one?
I currently have a many-to-one relationship set up from class Exp to class开发者_JS百科 Fin like this:[详细]
2023-03-11 17:20 分类:问答how , where and when to use natural-id in hbm file in hibernate?
I searched a lot in google but i didn\'t find any satisfied answer. So any one any please tell me a senario, whereto use natural-id in hbm file in hibernat开发者_高级运维e. Any help would be greatly a[详细]
2023-03-11 13:28 分类:问答Hibernate Composite primary key contains foreign key which is subset of other tables primary key, how to map?
The scenario is as follows Table A has a composite PK. Table A --------a1 (pk)开发者_JS百科 a2 (pk) a3 (pk) foo bar LastUpdateDate LastUpdateUser[详细]
2023-03-10 07:19 分类:问答