-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: HQL UNION Support and Hibernate 3.2.0 CR2
PostPosted: Thu Aug 17, 2006 10:07 am 
Newbie

Joined: Thu Aug 17, 2006 9:51 am
Posts: 1
Hi

Does Hibernate 3.2.0 CR2 supports HQL Union?

With respect to the below post :

http://opensource.atlassian.com/project ... e/HHH-1050

its given that the HQL union support is added in the 3.2.1 version.. but i dont find any such version in the Downloads link. Where can i get that version?

When i tried with 3.2.0 CR2 its throwing TransactionException... the same code is working fine with 3.1. Im using JOTM for UserTransaction.

Please find the stacktrace below....
Quote:
org.hibernate.TransactionException: Unable to locate UserTransaction to check status
at org.hibernate.transaction.JTATransactionFactory.isTransactionInProgress(JTATransactionFactory.java:86)
at org.hibernate.jdbc.JDBCContext.isTransactionInProgress(JDBCContext.java:180)
at org.hibernate.impl.SessionImpl.isTransactionInProgress(SessionImpl.java:371)
at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:955)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1555)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
at com.iba.framework.core.pojo.dao.DAOImpl.findByObject(DAOImpl.java:111)
at com.iba.ehis.ca.ioc.pojo.dao.ChartRecordingDAOImpl.getChartInfo(ChartRecordingDAOImpl.java:293)
at com.iba.ehis.ca.ioc.pojo.business.ChartRecordingFacade.getChartInfo(ChartRecordingFacade.java:108)
at com.iba.ehis.ca.ioc.pojo.business.ChartRecordingFacade.getObservationDates(ChartRecordingFacade.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:288)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:100)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.interceptor.PerformanceMonitorInterceptor.invokeUnderTrace(PerformanceMonitorInterceptor.java:60)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:111)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.interceptor.SimpleTraceInterceptor.invokeUnderTrace(SimpleTraceInterceptor.java:59)
at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:111)
at org.springframework.aop.interceptor.DebugInterceptor.invoke(DebugInterceptor.java:61)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy2.getObservationDates(Unknown Source)


Thanks in advance...

Regards
Sab


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.