This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Flex and the fly likes Unable to integrate Flex with hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Unable to integrate Flex with hibernate" Watch "Unable to integrate Flex with hibernate" New topic
Author

Unable to integrate Flex with hibernate

tijendra kumar
Greenhorn

Joined: Oct 11, 2007
Posts: 7
Im using flex 3 with eclipse. Im trying to access DB using Hibernate with flex application. But Im getting the below exception

It seems Im missing some jar. not sure which one.

[LCDS]07/23/2010 18:12:27.858 Error instantiating application scoped instance of type 'flex.data.assemblers.HibernateAssembler' for destination 'hibernate-asset'.
java.lang.NoClassDefFoundError: javax/resource/spi/XATerminator
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.hibernate.transaction.JOTMTransactionManagerLookup.getTransactionManager(JOTMTransactionManagerLookup.java:20)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:325)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to integrate Flex with hibernate
 
Similar Threads
spring flex
how to capture screenshots of flex application using Selenium?
Calling Hibernate from Flex
Flex with j2EE integration
Query related to Beginning Java and Flex.