net.sf.hibernate.MappingException

could not instantiate id generator

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web22

  • Stack trace

    • net.sf.hibernate.MappingException: could not instantiate id generator at net.sf.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:82) at net.sf.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:83) at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:635) at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:716) at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:42) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:136) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:791) at hibernate.HibernateTest.main(HibernateTest.java:40) Caused by: net.sf.hibernate.MappingException: Dialect does not support sequences at net.sf.hibernate.dialect.Dialect.getSequenceNextValString(Dialect.java:319) at net.sf.hibernate.id.SequenceGenerator.configure(SequenceGenerator.java:62) at net.sf.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:78) ... 7 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.