I m working with Hibernate + Spring and JSF I have a problem when I use a relationshiplike @OneTomany in Hibernate. For example:
I\'m working on a project where I am using JBoss 开发者_Python百科Tools to reverse engineer an MS SqlServer database into Hibernate objects. I am wondering if there is a way to map some of the tables
Reading the documentation on Grails Unit testing I came across the following: In Grails you need to be particularly aware of the difference between
I have a many-to-on开发者_如何学Goe mapping on bookings. A booking must belong to a room. And a room can have several bookings.
I have a Spring based JPA2 app with the Hibernate provider on HSQLDB. I\'m trying to elegantly handle exceptions but am finding I am getting hibernate exceptions not JPA ones. For example:
I\'ve got query that looks something like this: SomeDomain.executeQuery(\"\"\" from SomeDomain x where x.linkToSomeA = coalesce(:a, x.linkToSomeA) and
All, is it possible to disable secondary cache in my persistence xml file? I have a Spring+Hibernate+JPA configuration that uses ehcache. In my persistence.xml file I have this entry:
When we tried to retrieve data for a arraylist, we are iterating each row and开发者_开发百科 then we are using fetch query.is there any other iteration row in hibernate template or sql
I have a class named Rule, which contains a Set of childRules(each of the components of the Set are other classes). I am doing a HQL query which is marked as lazy=\"false\".
I have generated a spring web project with spring roo. Whe开发者_开发百科n I run the project inside eclipse via wtp on a jetty 7.2 it works fine. but when I package it to a war file, copy it manually