-->
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: How to show the column name of SQL Error
PostPosted: Mon Apr 19, 2004 12:44 am 
Newbie

Joined: Fri Apr 16, 2004 7:06 am
Posts: 3
Hi,

I am using
Hibernate Version 2.1
Oracle DB Version Release 2 (9.2.0.1.0) for Windows

When I insert a value into a table column it shows following Error :

Caused by: java.sql.BatchUpdateException: ORA-01401: inserted value too large for column
at oracle.jdbc.dbaccess.DBError.throwBatchUpdateException(DBError.java:4

Does anyone know how could I show the column name of the error casuing column ? I have tried to used exception.getCause() api, but it also won't show the error causing column name.

Thx in advance.

FB_Cheng


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 3:08 am 
Newbie

Joined: Fri Apr 16, 2004 7:06 am
Posts: 3
Sorry there is no solution for that.


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.