[jboss-user] [EJB 3.0] - EJB3, Sybase database, MappingException: Dialect does not su
yujianming
do-not-reply at jboss.com
Tue Jan 8 20:42:08 EST 2008
We are using Jboss4.2.1GA. I am adding a new Sybase data source. But when I start Jboss, the error message is as following. The .ear is not even deployed. May I know how to solve this problem?
Thank you very much!
James
**************************************Error Message***********************
Caused by: org.hibernate.MappingException: could not instantiate id generator
at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:98)
at org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:152)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:192)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:730)
... 145 more
Caused by: org.hibernate.MappingException: Dialect does not support sequences
at org.hibernate.dialect.Dialect.getSequenceNextValString(Dialect.java:596)
at org.hibernate.id.SequenceGenerator.configure(SequenceGenerator.java:65)
at org.hibernate.id.SequenceHiLoGenerator.configure(SequenceHiLoGenerator.java:43)
at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:94)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118119#4118119
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118119
More information about the jboss-user
mailing list