org.hibernate.exception.GenericJDBCException: could not insert: [org.cn.com.wceb.entity.Order]

daimami.com | 4 months ago
  1. 0

    org.hibernate.exception.GenericJDBCException: could not insert: [org.cn.com.wceb,该如何解决_J2EE_代码迷

    daimami.com | 4 months ago
    org.hibernate.exception.GenericJDBCException: could not insert: [org.cn.com.wceb.entity.Order]
  2. 0

    org.hibernate.id.IdentifierGenerationException: while saving data in one to one mapping

    Stack Overflow | 3 years ago | xrcwrn
    org.hibernate.exception.GenericJDBCException: could not insert: [hibernetMappings.Atom]
  3. 0

    File ID mismatch got=0 expected=266 pos=16841

    Google Groups | 8 years ago | Rajesh Akkineni
    org.hibernate.exception.GenericJDBCException: could not insert: [com.vimukti.collaber.internal.core.IdentityCommand]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2388) Insert w/ identity column fails on Sybase but no exception occurs

    jboss.org | 1 year ago
    org.hibernate.exception.GenericJDBCException: could not insert: [hibernate.MyEntity]
  6. 0

    Error saving data set on latest Ubuntu update

    spagoworld.org | 1 year ago
    org.hibernate.exception.GenericJDBCException: could not insert: [it.eng.spagobi.tools.dataset.metadata.SbiQueryDataSet]

    3 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.hibernate.exception.GenericJDBCException

      could not insert: [org.cn.com.wceb.entity.Order]

      at org.hibernate.exception.SQLStateConverter.handledNonSpecificException()
    2. Hibernate
      AbstractEntityPersister.insert
      1. org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
      2. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
      3. org.hibernate.exception.Helper.convert(JDBCExceptionHelper.java:66)
      4. org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:64)
      5. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2176)
      6. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2656)
      6 frames
    3. Hibernate
      EntityIdentityInsertAction.execute
      1. org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
      1 frame
    4. Hibernate
      ActionQueue.execute
      1. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
      1 frame
    5. Hibernate
      SessionImpl.save
      1. org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321)
      2. org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)
      3. org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)
      4. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)
      5. org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)
      6. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)
      7. org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)
      8. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
      9. org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:563)
      10. org.hibernate.impl.SessionImpl.save(SessionImpl.java:551)
      11. org.hibernate.impl.SessionImpl.save(SessionImpl.java:547)
      11 frames
    6. org.cn.com
      TestService.main
      1. org.cn.com.wceb.test.TestService.saveCustomerAndOrder(TestService.java:25)
      2. org.cn.com.wceb.test.TestService.main(TestService.java:31)
      2 frames