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