org.hibernate.MappingException: Could not instantiate id generator [entity-name=cn.opfo.app.domain.Person]

csdn.net | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    在Hibernate中配置Hilo进行数据绑定测试时出错:org.hibernate.MappingException: Could not instantiate id generator - 王立夫 - 博客园

    cnblogs.com | 6 months ago
    org.hibernate.MappingException: Could not instantiate id generator [entity-name=cn.opfo.app.domain.Person]
  2. 0

    Hibernate xml configration

    Stack Overflow | 1 year ago | abdou amer
    org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Hibernate 3.6 with Wildfly 10

    Stack Overflow | 4 weeks ago | Andyrus
    javax.persistence.PersistenceException: [PersistenceUnit: sessionfactoryuhdev] Unable to build Hibernate SessionFactory
  5. 0

    How can I map postgresql json data type using Hibernate?

    Stack Overflow | 2 years ago | chand
    org.hibernate.MappingException: No Dialect mapping for JDBC type: 2000

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Support for 'hilo' generator has been removed

      at org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.getIdentifierGeneratorClass()
    2. Hibernate
      SessionFactoryImpl.<init>
      1. org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.getIdentifierGeneratorClass(DefaultIdentifierGeneratorFactory.java:132)
      2. org.hibernate.id.factory.internal.DefaultIdentifierGeneratorFactory.createIdentifierGenerator(DefaultIdentifierGeneratorFactory.java:112)
      3. org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:265)
      4. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:287)
      4 frames
    3. org.hibernate.boot
      SessionFactoryBuilderImpl.build
      1. org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444)
      1 frame
    4. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:708)
      2. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
      2 frames
    5. cn.opfo.app
      HibernateJUnitTest.setUp
      1. cn.opfo.app.test.HibernateJUnitTest.setUp(HibernateJUnitTest.java:40)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    7. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      6. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      14. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      14 frames
    8. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    9. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames