-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Strange Erreur
PostPosted: Thu Dec 18, 2003 11:27 am 
Regular
Regular

Joined: Thu Nov 20, 2003 10:44 am
Posts: 58
Location: Paris, France
Do you know this erreur ?

Code:
Hibernate: select S_INDEX_EDITION.nextval from dual
Hibernate: insert into INDEX_EDITION (TYPE, CLE, DATE_CREATION, PK_INDEX_EDITION) values (?, ?, ?, ?)
Hibernate: insert into EDITION (DOCUMENT, PK_EDITION) values (?, ?)
- SQL Error: 17002, SQLState: null
- Exception d'E/S: End of TNS data channel
- SQL Error: 17002, SQLState: null
- Exception d'E/S: End of TNS data channel
- SQL Error: 17002, SQLState: null
- Exception d'E/S: End of TNS data channel
- could not insert: [fr.gouv.finances.dgi.opale.commun.transverse.persistent.EditionPersistent#3]
java.sql.SQLException: Exception d'E/S: End of TNS data channel
   at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
   at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
   at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
   at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1860)
   at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1771)
   at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2361)
   at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
   at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:22)
   at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:523)
   at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:498)
   at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:28)
   at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2362)
   at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2316)
   at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2258)
   at fr.gouv.finances.dgi.opale.technique.util.SessionHibernate.endTransaction(SessionHibernate.java:163)
   at TestCnxDB.main(TestCnxDB.java:641)
- Could not synchronize database state with session
net.sf.hibernate.JDBCException: could not insert: [fr.gouv.finances.dgi.opale.commun.transverse.persistent.EditionPersistent#3]
   at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:533)
   at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:498)
   at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:28)
   at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2362)
   at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2316)
   at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2258)
   at fr.gouv.finances.dgi.opale.technique.util.SessionHibernate.endTransaction(SessionHibernate.java:163)
   at TestCnxDB.main(TestCnxDB.java:641)
Caused by: java.sql.SQLException: Exception d'E/S: End of TNS data channel
   at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
   at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
   at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
   at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1860)
   at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1771)
   at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2361)
   at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:422)
   at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:22)
   at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:523)
   ... 7 more


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 12:12 pm 
Regular
Regular

Joined: Thu Nov 20, 2003 10:44 am
Posts: 58
Location: Paris, France
Actually I use Blob, it may be the reason ... ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.