[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problrms getting Datasource connection whith DAO and EJB
swjackson
do-not-reply at jboss.com
Thu May 10 10:48:15 EDT 2007
my persistence xml file didn't make it...
<persistence>
|
| <persistence-unit name="metadata">
| <jta-data-source>java:/it</jta-data-source>
| <provider>org.hibernate.ejb.HibernatePersistence</provider>
| <properties>
| <property name="hibernate.dialect" value="org.hibernate.dialect.SybaseDialect"/>
| <property name="hibernate.show_sql" value="true"/>
| <property name="hibernate.current_session_context_class" value="org.hibernate.context.JTASessionContext"/>
| <property name="hibernate.transaction.factory_class" value="org.hibernate.transaction.CMTTransactionFactory"/>
| <property name="hibernate.transaction.manager_lookup_class"
| value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
| </properties>
| </persistence-unit>
|
|
| </persistence>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044698#4044698
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044698
More information about the jboss-user
mailing list