I try to optimize the database queries in Hibernate, but I found a blocker: <class name=\"SupportedLanguageVO\" table=\"AR_SUPPORTED_LANG\" >
Hi I am trying to Persist a Map in Hibernate as开发者_运维百科 follows: public class Product{ @OneToMany
I have a class A which have a list of B elements. In my A class i would like to add: int size; which will be valued with the number of B elements. So when I would call myA.getSize() I will have it
Assuming the following mappings are provided: <class name=\"A\" table=\"a_table\"> <id name=\"id\"/>
I have a problem in Grails 1.1.2 + MySQL. My domain class Something contains field Map<String, Map<Integer, Integer>> priceMap
I have a Hibernate class which is essentially just a wrapper around loads of collections. So the class is (massively simplified/pseudo) something like:
Is it possible to embed the hibernate mapping hbm.xml’s to the jar and avoid manual reference in applicationContext.xml like
I have a Voucher - POJO mapped to two tables. The first mapping assigns an entity name \"voucherA\" and maps the POJO to TableA. The second mapping uses \"voucherB\" as entity name and maps the POJO t
I have a scenario that i want to add some standard properties to my entities. Meaning that i will have e.g. 1 int and 2 string properties applied to all relevant entities. I have over 100 mapping file
I know this should be a pretty elementary issue to fix, but 1) I\'m relatively new to Hibernate, and 2) the fixes I\'ve found don\'t (seem to) apply here.