org.springframework.orm.jpa.JpaSystemException: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement

qnundrum.com | 2 months ago
  1. 0

    Lob read/write while another in progress

    Stack Overflow | 10 months ago | Mydory
    org.springframework.orm.jpa.JpaSystemException: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement
  2. 0

    Lob read/write while another in progress

    qnundrum.com | 2 months ago
    org.springframework.orm.jpa.JpaSystemException: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement
  3. 0

    Error: Unable to insert new audit record for auditee 21 in repository UPA..

    Oracle Community | 7 years ago | 703604
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Analytic problem on Oracle

    GitHub | 3 years ago | graz1an0
    com.dotmarketing.exception.DotHibernateException: Unable to close Hibernate Session
  6. 0

    SQL Parent key not found publishing multi-language file asset

    GitHub | 4 years ago | almontic
    com.dotcms.publishing.DotPublishingException: Unable to save/update Object to Hibernate Session

  1. mellson 2 times, last 3 months ago
8 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. java.sql.SQLException

    Lob read/write functions called while another read/write is in progress: getBytes()

    at oracle.jdbc.driver.T4CConnection.getBytes()
  2. Oracle jdbc
    OraclePreparedStatementWrapper.executeUpdate
    1. oracle.jdbc.driver.T4CConnection.getBytes(T4CConnection.java:2427)
    2. oracle.sql.BLOB.getBytes(BLOB.java:348)
    3. oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStream.java:181)
    4. oracle.jdbc.driver.OracleBufferedStream.readInternal(OracleBufferedStream.java:169)
    5. oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.java:143)
    6. oracle.jdbc.driver.OracleConversionInputStream.needBytesFromStream(OracleConversionInputStream.java:334)
    7. oracle.jdbc.driver.OracleConversionInputStream.needBytes(OracleConversionInputStream.java:211)
    8. oracle.jdbc.driver.OracleConversionInputStream.needBytes(OracleConversionInputStream.java:191)
    9. oracle.jdbc.driver.OracleBufferedStream.readInternal(OracleBufferedStream.java:169)
    10. oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.java:143)
    11. oracle.jdbc.driver.T4CTTIrxd.marshal(T4CTTIrxd.java:804)
    12. oracle.jdbc.driver.T4C8Oall.marshalBinds(T4C8Oall.java:1777)
    13. oracle.jdbc.driver.T4C8Oall.marshal(T4C8Oall.java:1114)
    14. oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:225)
    15. oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
    16. oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
    17. oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046)
    18. oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1336)
    19. oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3613)
    20. oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3694)
    21. oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1354)
    21 frames
  3. Apache Commons DBCP
    DelegatingPreparedStatement.executeUpdate
    1. org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
    2. org.apache.commons.dbcp2.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:98)
    2 frames
  4. Hibernate
    SessionImpl.flush
    1. org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:204)
    2. org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:45)
    3. org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3071)
    4. org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2950)
    5. org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3330)
    6. org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:145)
    7. org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:560)
    8. org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:434)
    9. org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
    10. org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
    11. org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
    11 frames
  5. org.hibernate.jpa
    AbstractEntityManagerImpl.flush
    1. org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1300)
    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. Spring ORM
    SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:293)
    1 frame
  8. com.sun.proxy
    $Proxy45.flush
    1. com.sun.proxy.$Proxy45.flush(Unknown Source)
    1 frame
  9. Spring Data JPA
    SimpleJpaRepository.saveAndFlush
    1. org.springframework.data.jpa.repository.support.SimpleJpaRepository.flush(SimpleJpaRepository.java:486)
    2. org.springframework.data.jpa.repository.support.SimpleJpaRepository.saveAndFlush(SimpleJpaRepository.java:454)
    2 frames
  10. 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
  11. Spring Data Core
    RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke
    1. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn(RepositoryFactorySupport.java:483)
    2. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:468)
    3. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:440)
    3 frames
  12. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    1 frame
  13. org.springframework.data
    DefaultMethodInvokingMethodInterceptor.invoke
    1. org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61)
    1 frame
  14. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    1 frame
  15. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
    3 frames
  16. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    1 frame
  17. Spring Tx
    PersistenceExceptionTranslationInterceptor.invoke
    1. org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)
    1 frame
  18. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    1 frame
  19. Spring Data JPA
    CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke
    1. org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:131)
    1 frame
  20. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
    4 frames
  21. com.sun.proxy
    $Proxy47.saveAndFlush
    1. com.sun.proxy.$Proxy47.saveAndFlush(Unknown Source)
    1 frame
  22. com.pduleba.spring
    DBControllerImpl.createDB
    1. com.pduleba.spring.data.services.OwnerServiceImpl.update(OwnerServiceImpl.java:34)
    2. com.pduleba.spring.data.controller.DBControllerImpl.update(DBControllerImpl.java:60)
    3. com.pduleba.spring.data.controller.DBControllerImpl.createDB(DBControllerImpl.java:36)
    3 frames
  23. com.pduleba
    Main.main
    1. com.pduleba.Main.execute(Main.java:49)
    2. com.pduleba.Main.main(Main.java:28)
    2 frames