db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r449994 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/StoredProcedureMaxDBTest.java
Date Tue, 26 Sep 2006 11:27:51 GMT
Author: arminw
Date: Tue Sep 26 04:27:50 2006
New Revision: 449994

URL: http://svn.apache.org/viewvc?view=rev&rev=449994
Log:
remove redundant variable declaration

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/StoredProcedureMaxDBTest.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/StoredProcedureMaxDBTest.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/StoredProcedureMaxDBTest.java?view=diff&rev=449994&r1=449993&r2=449994
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/StoredProcedureMaxDBTest.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/StoredProcedureMaxDBTest.java
Tue Sep 26 04:27:50 2006
@@ -46,7 +46,7 @@
 
         insertProcedure =
                 "CREATE DBPROC SP_CUSTOMER_INSERT (IN NAME VARCHAR(150), OUT CUSTOMER_ID
FIXED(10)) " +
-                        "AS SET CUSTOMER_ID = 0;" +
+                        "AS " +
                         "INSERT INTO " + schemaName + "SP_CUSTOMER (NAME) VALUES (:NAME);"
+
                         "BEGIN " +
                         "SET CUSTOMER_ID=SP_CUSTOMER.CURRVAL;" +



---------------------------------------------------------------------
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