I will explain my problem little bit in details. –i have following classes jms listener which will listen on a queue and will have java 1.5 thread pool executor to delegate the mssage to a thread(
I have the following HQL query: entityManager.createQuery(\"Select customer FROM VisitEntry visitEntry RIGHT OUTER JOIN visitEntry.customer customer
using TimeDuration in one of my Grails/Groovy classes 开发者_JAVA百科I get an exception when starting the grails app.
What is the difference between criteria and detached criteria? W开发者_如何学JAVAhen should we go for criteria and when should we go for detached criteria?The detached criteria allows you to create th
I\'ve a problem, that I can\'t solve for days now. I have read many docs, searched many forums, but found no solution.
I have two tables: Categories (id, name, abbr) Project (id, name, categori开发者_高级运维esID) The relationship is one to many (1 Categories to Many Projects). I use Hibernate DAOs and Mapping to
I am using Spring + Hibernate + Dbcp + Tomcat in my application. For some reason after a recent spring upgrade to version 3.0.6 the application has started to throw the following exception.
Is it possible to do an \"in\" criteria using the GORM criteria. I\'m looking for the equivalent of the following SQL
I use Spring along with Hib开发者_JAVA百科ernate. In my DAO, I defined a NamedQuery which is not found by the session factory, although I have added the package of that DAO to the packagesToScan.
The fundamental source of my questionning came from this observation. When I use Hibernate and make any query, I get the following in the MySQL logs: