[Idrs-commit] CVS: Idrs/dev/src/net/sourceforge/idrs/utils DB.java,1.13,1.14 CleanUp.java,1.4,1.5
Brought to you by:
bigman921
|
From: Marc B. <big...@us...> - 2003-03-17 14:05:35
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils
In directory sc8-pr-cvs1:/tmp/cvs-serv25653/dev/src/net/sourceforge/idrs/utils
Modified Files:
DB.java CleanUp.java
Log Message:
Added Initial EJB Support
Index: DB.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils/DB.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** DB.java 29 Dec 2002 04:01:56 -0000 1.13
--- DB.java 17 Mar 2003 14:05:00 -0000 1.14
***************
*** 40,45 ****
public static final int SQL = 2;
! public static final int TRANS_BEGIN = 0;
! public static final int TRANS_COMPLETE = 1;
--- 40,45 ----
public static final int SQL = 2;
! public static final int TRANS_BEGIN = 1;
! public static final int TRANS_COMPLETE = 2;
***************
*** 133,136 ****
--- 133,138 ----
this.numRecs = recs;
this.cursur = DB.CLIENT;
+
+ //System.out.println("numRecs : " + this.numRecs);
}
***************
*** 701,705 ****
if (this.cursur == DB.CLIENT) {
// System.out.println("Cursor client : ");
! System.out.println("Location : " + cursurLocation);
if ((rows.length > cursurLocation) && (cursurLocation < beginWith + numRecs)) {
this.fields = (HashMap) rows[this.cursurLocation];
--- 703,710 ----
if (this.cursur == DB.CLIENT) {
// System.out.println("Cursor client : ");
! //System.out.println("Location : " + cursurLocation);
! //System.out.println("rows.length : " + rows.length);
! //System.out.println("beginWith : " + beginWith);
! //System.out.println("numRecs : " + numRecs);
if ((rows.length > cursurLocation) && (cursurLocation < beginWith + numRecs)) {
this.fields = (HashMap) rows[this.cursurLocation];
***************
*** 767,770 ****
--- 772,776 ----
HashMap caches = null;
+ System.out.println("Client Cursor : " + (this.cursur == DB.CLIENT));
if (this.cursur == DB.CLIENT) {
caches = ((HashMap) idrs.getSession().getAttribute("IDRS_DB_CACHE"));
***************
*** 787,795 ****
if (! this.wasCached ) {
if (! idrs.isError()) {
if (type == METHOD) {
!
procMethod(obj,methodName,vars,idrs);
--- 793,803 ----
+ System.out.println("is cached? : " + this.wasCached);
if (! this.wasCached ) {
+ System.out.println("in here");
if (! idrs.isError()) {
if (type == METHOD) {
!
procMethod(obj,methodName,vars,idrs);
Index: CleanUp.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/utils/CleanUp.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CleanUp.java 6 Feb 2003 20:13:45 -0000 1.4
--- CleanUp.java 17 Mar 2003 14:05:00 -0000 1.5
***************
*** 33,36 ****
--- 33,40 ----
}
}
+
+ public void regChildStatements(CleanUp obj) {
+ statements.addAll(obj.statements);
+ }
|