[cvs] example commit by lhamel: make compile against v5.6
JCorporate Ltd
jcorp at jcorporate.com
Wed Dec 29 20:00:32 UTC 2004
Log Message:
-----------
make compile against v5.6
Modified Files:
--------------
example/src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj:
OrderIdSeq.java
Product.java
ProductIdSeq.java
ReferenceTable.java
example/src/WEB-INF/src/com/jcorporate/expresso/demo/genco:
GencoSchema.java
Revision Data
-------------
Index: ProductIdSeq.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/example/src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/ProductIdSeq.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lsrc/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/ProductIdSeq.java -Lsrc/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/ProductIdSeq.java -u -r1.1 -r1.2
--- src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/ProductIdSeq.java
+++ src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/ProductIdSeq.java
@@ -40,27 +40,6 @@
super(theConnection);
}
/**
- *
- * Creation date: (4/7/00 3:47:49 PM)
- * @author:
- * @param theConnection com.jcorporate.expresso.core.db.DBConnection
- * @param theUser java.lang.String
- * @exception com.jcorporate.expresso.core.db.DBException The exception description.
- */
- public ProductIdSeq(DBConnection theConnection, String theUser)
- throws com.jcorporate.expresso.core.db.DBException {
- super(theConnection, theUser);
- }
- /**
- * Creation date: (4/7/00 2:17:00 PM)
- * @param theUser java.lang.String
- * @exception com.jcorporate.expresso.core.db.DBException The exception description.
- */
- public ProductIdSeq(String theUser)
- throws DBException {
- super(theUser);
- }
- /**
* Use over (String) constructor. Initializes the object in the context
* of the user who's uid belongs to the parameter.
* @param the Uid of the user context
Index: Product.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/example/src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/Product.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lsrc/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/Product.java -Lsrc/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/Product.java -u -r1.1 -r1.2
--- src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/Product.java
+++ src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/Product.java
@@ -76,18 +76,6 @@
throws DBException {
super(request);
}
- /**
- * Constructor
- *
- * @param theUser User name attempting to access the
- * object
- * @throws DBException If the user cannot access this
- * object or the object cannot be initialized
- */
- public Product(String theUser)
- throws DBException {
- super(theUser);
- } /* Product(String) */
/**
* Use over (String) constructor. Initializes the object in the context
Index: ReferenceTable.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/example/src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/ReferenceTable.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lsrc/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/ReferenceTable.java -Lsrc/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/ReferenceTable.java -u -r1.1 -r1.2
--- src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/ReferenceTable.java
+++ src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/ReferenceTable.java
@@ -78,18 +78,6 @@
super(theConnection, theUser);
} /* ReferenceTable(DBConnection, String) */
- /**
- * Constructor
- *
- * @param theUser User name attempting to access the
- * object
- * @throws DBException If the user cannot access this
- * object or the object cannot be initialized
- */
- public ReferenceTable(String theUser)
- throws DBException {
- super(theUser);
- } /* ReferenceTable(String) */
/**
* Use over (String) constructor. Initializes the object in the context
Index: OrderIdSeq.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/example/src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/OrderIdSeq.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lsrc/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/OrderIdSeq.java -Lsrc/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/OrderIdSeq.java -u -r1.3 -r1.4
--- src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/OrderIdSeq.java
+++ src/WEB-INF/src/com/jcorporate/expresso/demo/genco/dbobj/OrderIdSeq.java
@@ -31,26 +31,26 @@
throws DBException {
super(theConnection);
}
- /**
- *
- * Creation date: (4/7/00 3:47:49 PM)
- * @param theConnection com.jcorporate.expresso.core.db.DBConnection
- * @param theUser java.lang.String
- * @exception com.jcorporate.expresso.core.db.DBException The exception description.
- */
- public OrderIdSeq(DBConnection theConnection, String theUser)
- throws DBException {
- super(theConnection, theUser);
- }
- /**
- * Creation date: (4/7/00 2:17:00 PM)
- * @param theUser java.lang.String
- * @exception com.jcorporate.expresso.core.db.DBException The exception description.
- */
- public OrderIdSeq(String theUser)
- throws DBException {
- super(theUser);
- }
+// /**
+// *
+// * Creation date: (4/7/00 3:47:49 PM)
+// * @param theConnection com.jcorporate.expresso.core.db.DBConnection
+// * @param theUser java.lang.String
+// * @exception com.jcorporate.expresso.core.db.DBException The exception description.
+// */
+// public OrderIdSeq(DBConnection theConnection, String theUser)
+// throws DBException {
+// super(theConnection, theUser);
+// }
+// /**
+// * Creation date: (4/7/00 2:17:00 PM)
+// * @param theUser java.lang.String
+// * @exception com.jcorporate.expresso.core.db.DBException The exception description.
+// */
+// public OrderIdSeq(String theUser)
+// throws DBException {
+// super(theUser);
+// }
/**
* Use over (String) constructor. Initializes the object in the context
* of the user who's uid belongs to the parameter.
Index: GencoSchema.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/example/src/WEB-INF/src/com/jcorporate/expresso/demo/genco/GencoSchema.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lsrc/WEB-INF/src/com/jcorporate/expresso/demo/genco/GencoSchema.java -Lsrc/WEB-INF/src/com/jcorporate/expresso/demo/genco/GencoSchema.java -u -r1.1 -r1.2
--- src/WEB-INF/src/com/jcorporate/expresso/demo/genco/GencoSchema.java
+++ src/WEB-INF/src/com/jcorporate/expresso/demo/genco/GencoSchema.java
@@ -38,13 +38,13 @@
on - this ensure that import/export */
/* in the XML module will work correctly */
- add(new Product());
- add(new OrderQueue());
+ addDBObject(Product.class);
+ addDBObject(OrderQueue.class);
// Add a new reference table for the handle sequences
// without Postgres SQL *PP* Fri Dec 08 11:31:46 GMT 2000
//
- add(new ReferenceTable());
+ addDBObject(ReferenceTable.class);
} catch (Exception e) {
throw new DBException(e.getMessage());
}
More information about the cvs
mailing list