db-ojb-dev mailing list archives

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

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

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

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java?rev=432648&r1=432647&r2=432648&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java
Fri Aug 18 10:18:37 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