Ok, had to change the property name to :
<property name="jta.UserTransaction">UserTransaction</property>
to get past the namenotfound exception. But now I see that nothing is getting committed. I see hibernate printing out the updating instances but no update statements whatsover:
17:30:57,150 DEBUG [HibernateUtil] Starting new database transaction in this thread.
17:30:57,150 DEBUG [HibernateUtil] Opening new Session for this thread.
17:30:57,150 DEBUG [SessionFactoryObjectFactory] JNDI lookup: hibernate/HibernateFactory
17:30:57,150 DEBUG [SessionFactoryObjectFactory] lookup: uid=8a9481ef0415c33d010415c3e6540003
17:30:57,150 DEBUG [JDBCContext] successfully registered Synchronization
17:30:57,150 DEBUG [SessionImpl] opened session at timestamp: 4575464067686400
17:30:57,160 DEBUG [JTATransaction] begin
17:30:57,160 DEBUG [JTATransaction] Looking for UserTransaction under: UserTransaction
17:30:57,160 DEBUG [JTATransaction] Obtained UserTransaction
17:30:57,180 DEBUG [Cascades] version unsaved-value strategy UNDEFINED
17:30:57,180 DEBUG [Cascades] id unsaved-value: null
17:30:57,180 DEBUG [AbstractSaveEventListener] detached instance of: com.realcleartech.model.request.blackBerry.BlackBerryRequest
17:30:57,180 DEBUG [DefaultSaveOrUpdateEventListener] updating detached instance
17:30:57,180 DEBUG [DefaultSaveOrUpdateEventListener] updating [com.realcleartech.model.request.blackBerry.BlackBerryRequest#78]
17:30:57,200 DEBUG [DefaultSaveOrUpdateEventListener] updating [com.realcleartech.model.request.blackBerry.BlackBerryRequest#78]
17:30:57,230 DEBUG [Cascades] version unsaved-value strategy UNDEFINED
17:30:57,230 DEBUG [Cascades] id unsaved-value: null
17:30:57,230 DEBUG [AbstractSaveEventListener] detached instance of: com.realcleartech.model.request.blackBerry.BlackBerryRequestExt0
17:30:57,230 DEBUG [DefaultSaveOrUpdateEventListener] updating detached instance
17:30:57,230 DEBUG [DefaultSaveOrUpdateEventListener] updating [com.realcleartech.model.request.blackBerry.BlackBerryRequestExt0#121]
17:30:57,230 DEBUG [DefaultSaveOrUpdateEventListener] updating [com.realcleartech.model.request.blackBerry.BlackBerryRequestExt0#121]
17:30:57,230 DEBUG [Cascades] version unsaved-value strategy UNDEFINED
17:30:57,230 DEBUG [Cascades] id unsaved-value: null
17:30:57,230 DEBUG [AbstractSaveEventListener] detached instance of: com.realcleartech.model.request.blackBerry.BlackBerryRequestExt1
17:30:57,230 DEBUG [DefaultSaveOrUpdateEventListener] updating detached instance
17:30:57,230 DEBUG [DefaultSaveOrUpdateEventListener] updating [com.realcleartech.model.request.blackBerry.BlackBerryRequestExt1#122]
17:30:57,251 DEBUG [DefaultSaveOrUpdateEventListener] updating [com.realcleartech.model.request.blackBerry.BlackBerryRequestExt1#122]
17:30:57,251 DEBUG [HibernateUtil] Committing database transaction of this thread.
17:30:57,251 DEBUG [JTATransaction] commit
17:30:57,251 DEBUG [HibernateUtil] Closing Session of this thread.
17:30:57,251 DEBUG [SessionImpl] closing session
17:30:57,251 DEBUG [CacheSynchronization] transaction before completion callback
17:30:57,251 DEBUG [CacheSynchronization] automatically flushing session
17:30:57,271 DEBUG [SessionImpl] automatically flushing session
17:30:57,271 DEBUG [JDBCContext] before transaction completion
17:30:57,271 DEBUG [SessionImpl] before transaction completion
17:30:57,271 DEBUG [CacheSynchronization] transaction before completion callback
17:30:57,271 DEBUG [CacheSynchronization] automatically flushing session
17:30:57,271 DEBUG [SessionImpl] automatically flushing session
17:30:57,271 DEBUG [JDBCContext] before transaction completion
17:30:57,271 DEBUG [SessionImpl] before transaction completion
17:30:57,321 DEBUG [CacheSynchronization] transaction after completion callback, status: 3
17:30:57,321 DEBUG [JDBCContext] after transaction completion
17:30:57,321 DEBUG [SessionImpl] after transaction completion
17:30:57,321 DEBUG [CacheSynchronization] transaction after completion callback, status: 3
17:30:57,321 DEBUG [JDBCContext] after transaction completion
17:30:57,321 DEBUG [SessionImpl] after transaction completion
|