This content has been marked as final.
Show 3 replies
-
1. Re: EJB3, Sybase database, MappingException: Dialect does no
jaikiran Jan 9, 2008 8:37 AM (in response to yujianming)Caused by: org.hibernate.MappingException: Dialect does not support sequences
As per this message, the dialect that you have mentioned in your hibernate configuration file does not support SEQUENCE to generate a ID column value. -
2. Re: EJB3, Sybase database, MappingException: Dialect does no
yujianming Jan 9, 2008 11:43 AM (in response to yujianming)Thank you. My setup is as following. May I know what the dialect that I should use for Sybase database?
James
***********************************************************
<persistence-unit name="SybaseDB">
org.hibernate.ejb.HibernatePersistence
<jta-data-source>java:/SybaseDB</jta-data-source>
</persistence-unit> -
3. Re: EJB3, Sybase database, MappingException: Dialect does no
yujianming Jan 9, 2008 12:12 PM (in response to yujianming)The .xml file is not shown properly. The setup in our appliation is as following:
property name="hibernate.dialect" value="org.hibernate.dialect.SybaseDialect"
property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"