Konfigurasi JNDI saya ganti datasource + saya tambahkan lib apache.
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="org.postgresql.Driver"/>
<property name="url" value="jdbc:postgresql://
127.0.0.1:5432/springlat"/>
<property name="username" value="postgres"/>
<property name="password" value="postgres"/>
</bean>
tapi tetap muncul error untuk setiap hql
org.hibernate.HibernateException: createQuery is not valid without
active transaction