You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by he...@apache.org on 2003/10/23 18:08:02 UTC
cvs commit: db-torque/proposals/henning/skipidbroker skipidbroker.patch
henning 2003/10/23 09:08:02
Modified: proposals/henning/skipidbroker Tag: TORQUE_3_1_BRANCH
skipidbroker.patch
Log:
Forgot one save() in Persistent
Revision Changes Path
No revision
No revision
1.1.2.2 +11 -2 db-torque/proposals/henning/skipidbroker/Attic/skipidbroker.patch
Index: skipidbroker.patch
===================================================================
RCS file: /home/cvs/db-torque/proposals/henning/skipidbroker/Attic/skipidbroker.patch,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- skipidbroker.patch 23 Oct 2003 15:54:10 -0000 1.1.2.1
+++ skipidbroker.patch 23 Oct 2003 16:08:02 -0000 1.1.2.2
@@ -246,11 +246,20 @@
obj.setModified(false);
diff --exclude=CVS -Nurb db-torque_BRANCH31.patched/src/java/org/apache/torque/om/Persistent.java db-torque_BRANCH31.work/src/java/org/apache/torque/om/Persistent.java
--- db-torque_BRANCH31.patched/src/java/org/apache/torque/om/Persistent.java 2002-12-29 19:17:26.000000000 +0100
-+++ db-torque_BRANCH31.work/src/java/org/apache/torque/om/Persistent.java 2003-10-23 17:50:49.000000000 +0200
-@@ -148,4 +148,29 @@
++++ db-torque_BRANCH31.work/src/java/org/apache/torque/om/Persistent.java 2003-10-23 18:07:05.000000000 +0200
+@@ -148,4 +148,38 @@
* @throws Exception This method might throw an exception
*/
void save(Connection con) throws Exception;
++
++ /**
++ * Saves the object.
++ *
++ * @param skipIdBroker If this is true, the criteria already contains
++ * a value for the PK and the ID Broker should not be used
++ * @throws Exception This method might throw an exception
++ */
++ void save(boolean skipIdBroker) throws Exception;
+
+ /**
+ * Stores the object in the database. If the object is new,
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org