Thanks epbernard.
For anyone else working with EJB3 you set this property in the persistance.xml file in your par archive for the entity beans.
Here is the file:
| <?xml version="1.0" encoding="UTF-8"?>
| <entity-manager>
| <name>survey</name>
| <jta-data-source>java:/jdbc/SybaseDB</jta-data-source>
| <properties>
| <property name="hibernate.hbm2ddl.auto"
| value="create-drop"/>
| <property name="hibernate.dialect" value="org.hibernate.dialect.SybaseAnywhereDialect"/>
| <!-- This is for ASE -->
| <!-- property name="hibernate.dialect" value="org.hibernate.dialect.SybaseDialect"/ -->
| </properties>
| </entity-manager>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887377#3887377
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887377
|