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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Unable to integrate Flex with hibernate" Watch "Unable to integrate Flex with hibernate" New topic

Unable to integrate Flex with hibernate

tijendra kumar

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)
I agree. Here's the link: http://aspose.com/file-tools
subject: Unable to integrate Flex with hibernate