org.hibernate.JDBCException: Error during import script execution

hivmr.com | 8 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

    db:: 4.77::ERROR [SchemaExport] schema export unsuccessful c1

    hivmr.com | 11 months ago
    org.hibernate.JDBCException: Error during import script execution
  2. 0

    Problem with PostgreSQL driver

    Google Groups | 5 years ago | Jacobus
    org.postgresql.util.PSQLException: ERROR: type "double" does not exist Position: 104
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Scala's Slick with multiple PK insertOrUpdate() throws exception ERROR: syntax error at end of input

    Stack Overflow | 3 years ago | Konstantin Trunin
    org.postgresql.util.PSQLException: ERROR: syntax error at end of input Position: 76
  5. 0

    Getting error during insertion of the data in postgresql 9.3

    Stack Overflow | 3 years ago | Krishna
    org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block

  1. silex 6 times, last 3 months ago
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.postgresql.util.PSQLException

    FEHLER: duplizierter Schlssel verletzt Unique-Constraint mitarbeiter_pkey

    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse()
  2. PostgreSQL JDBC Driver
    AbstractJdbc2Statement.execute
    1. org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1547)
    2. org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1315)
    3. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:190)
    4. org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
    5. org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:336)
    6. org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:328)
    6 frames
  3. JBoss Application Server Connector
    WrappedStatement.execute
    1. org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:83)
    1 frame
  4. Hibernate
    SchemaExport.create
    1. org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:254)
    2. org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:192)
    3. org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:133)
    3 frames
  5. Hibernate
    SessionFactoryImpl.init
    1. org.hibernate.impl.SessionFactoryImpl.init(SessionFactoryImpl.java:311)
    1 frame
  6. Hibernate
    AnnotationConfiguration.buildSessionFactory
    1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
    2. org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:918)
    2 frames
  7. Hibernate EJB
    HibernatePersistence.createContainerEntityManagerFactory
    1. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:656)
    2. org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
    2 frames
  8. org.jboss.ejb3
    PersistenceUnitDeployment.start
    1. org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:259)
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  10. JBoss Reflection
    BasicMethodJoinPoint.dispatch
    1. org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56)
    2. org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)
    3. org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
    3 frames
  11. JBoss Microcontainer Kernel
    KernelControllerContextAction.installAction
    1. org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:214)
    2. org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45)
    3. org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:108)
    4. org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:69)
    5. org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
    6. org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:135)
    7. org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:46)
    7 frames
  12. JBoss Microcontainer Dependency
    AbstractController.change
    1. org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
    2. org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
    3. org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
    4. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
    5. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
    6. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
    7. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
    8. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
    9. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
    10. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
    10 frames
  13. JBoss Application Server System
    ServiceDeployer.deploy
    1. org.jboss.system.ServiceController.doChange(ServiceController.java:659)
    2. org.jboss.system.ServiceController.start(ServiceController.java:431)
    3. org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:149)
    4. org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:107)
    5. org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
    5 frames
  14. JBoss Deployers SPI
    AbstractRealDeployer.deploy
    1. org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
    2. org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
    2 frames
  15. JBoss Deployers Impl
    DeployersImpl.install
    1. org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
    2. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
    3. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
    4. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
    5. org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
    5 frames
  16. JBoss Microcontainer Dependency
    AbstractController.change
    1. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
    2. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
    3. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
    4. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
    5. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
    6. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
    7. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
    7 frames
  17. JBoss Deployers Impl
    MainDeployerImpl.process
    1. org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
    2. org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
    2 frames
  18. org.jboss.embedded
    Bootstrap.deployResourceBases
    1. org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:127)
    2. org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:289)
    2 frames
  19. org.jboss.seam
    SeamTest.init
    1. org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:15)
    2. org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1041)
    3. org.jboss.seam.mock.BaseSeamTest.startSeam(BaseSeamTest.java:935)
    4. org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:923)
    5. org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
    5 frames
  20. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  21. TestNG
    TestNG.main
    1. org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
    2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
    3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
    4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
    5. org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
    7. org.testng.TestRunner.runWorkers(TestRunner.java:678)
    8. org.testng.TestRunner.privateRun(TestRunner.java:624)
    9. org.testng.TestRunner.run(TestRunner.java:495)
    10. org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
    11. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
    12. org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
    13. org.testng.SuiteRunner.run(SuiteRunner.java:190)
    14. org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
    15. org.testng.TestNG.runSuitesLocally(TestNG.java:765)
    16. org.testng.TestNG.run(TestNG.java:699)
    17. org.testng.TestNG.privateMain(TestNG.java:824)
    18. org.testng.TestNG.main(TestNG.java:802)
    18 frames