[jboss-user] [JBoss Tools (users)] - Re: Sessionfactory error on EJB project

max.andersen@jboss.com do-not-reply at jboss.com
Thu Apr 2 02:28:16 EDT 2009


What are you using to configure hibernate ? a cfg.xml or persistence.xml ?

Most likely you got it configured to use JTA which is not available when running inside Eclipse.

The simplest workaround for this is to not use such config from within eclipse. You can still keep using your config files and just have a single properties file to override any JTA/Server specific settings.

Try create a seam project and see the hibernatetools-console.properties that generated there and associated with the hibernate console configuration - it should do the trick.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222859#4222859

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222859



More information about the jboss-user mailing list