Hibernate
hibernate transaction commit issue in high concurrency environment
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([详细]
2023-04-13 10:04 分类:问答HQL right outer join returning partial result with InheritanceType.SINGLE_TABLE
I have the following HQL query: entityManager.createQuery(\"Select customer FROM VisitEntry visitEntry RIGHT OUTER JOIN visitEntry.customer customer[详细]
2023-04-13 09:57 分类:问答Correct Hibernate type for TimeDuration in grails/groovy domain class?
using TimeDuration in one of my Grails/Groovy classes 开发者_JAVA百科I get an exception when starting the grails app.[详细]
2023-04-13 08:45 分类:问答Difference between criteria and detached criteria in hibernate?
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[详细]
2023-04-13 08:40 分类:问答JPA OneToMany with inherited entities using DiscriminatorOptions and orphanremoval
I\'ve a problem, that I can\'t solve for days now. I have read many docs, searched many forums, but found no solution.[详细]
2023-04-13 08:23 分类:问答Setting ID for foreign key
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[详细]
2023-04-13 08:21 分类:问答Hibernate Exception: Connection Pool exhausted error after Spring upgrade
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.[详细]
2023-04-13 07:55 分类:问答Grails/GORM "in" criteria
Is it possible to do an \"in\" criteria using the GORM criteria. I\'m looking for the equivalent of the following SQL[详细]
2023-04-13 07:53 分类:问答NamedQuery defined in DAO annotation not found by Hibernate session factory
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.[详细]
2023-04-13 07:48 分类:问答JDBC - c3p0 - hibernate - setAutocommit, Can someone please help me clarify the story
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:[详细]
2023-04-13 07:36 分类:问答