db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r432649 - /db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java
Date Fri, 18 Aug 2006 17:19:03 GMT
Author: arminw
Date: Fri Aug 18 10:19:03 2006
New Revision: 432649

URL: http://svn.apache.org/viewvc?rev=432649&view=rev
Log:
enhance error message

Modified:
    db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java

Modified: db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java?rev=432649&r1=432648&r2=432649&view=diff
==============================================================================
--- db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java
(original)
+++ db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java
Fri Aug 18 10:19:03 2006
@@ -166,7 +166,8 @@
             }
             catch(Exception e)
             {
-                throw new SequenceManagerException(e);
+                throw new SequenceManagerException(
+                        "Error while execute query: " + lastInsertSelect(cld.getFullTableName()),
e);
             }
             finally
             {



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message