[cvs] expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj MultiDBObject.java

JCorporate Ltd jcorp at jcorp2.servlets.net
Mon Sep 20 12:59:30 PDT 2004


Update of /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj
In directory jcorp2.servlets.net:/tmp/cvs-serv3694

Modified Files:
	MultiDBObject.java 
Log Message:
<Aucun commentaire entré>


Index: MultiDBObject.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dbobj/MultiDBObject.java,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** MultiDBObject.java	20 Sep 2004 19:20:15 -0000	1.52
--- MultiDBObject.java	20 Sep 2004 19:59:28 -0000	1.53
***************
*** 309,313 ****
       *
       * @return true = success.
!      * @throws DBException
       */
      public boolean buildFromClause() throws DBException {
--- 309,315 ----
       *
       * @return true = success.
!      *
!      * Modify by Yves Henri AMAIZO <amy_amaizo at compuserve.com>
!      * @since $DatabaseSchema  $Date$
       */
      public boolean buildFromClause() throws DBException {
***************
*** 378,382 ****
                      }
  
!                     String targetTable = oneObj.getJDBCMetaData().getTargetTable();
                      String tableName = getTableName(oneObj);
                      fsb.append(targetTable);
--- 380,384 ----
                      }
  
!                     String targetTable = oneObj.getJDBCMetaData().getTargetSQLTable(oneObj.getDataContext());
                      String tableName = getTableName(oneObj);
                      fsb.append(targetTable);
***************
*** 403,407 ****
                      }
  
!                     String targetTable = oneObj.getJDBCMetaData().getTargetTable();
                      String tableName = getTableName(oneObj);
                      fsb.append(targetTable);
--- 405,409 ----
                      }
  
!                     String targetTable = oneObj.getJDBCMetaData().getTargetSQLTable(oneObj.getDataContext());
                      String tableName = getTableName(oneObj);
                      fsb.append(targetTable);
***************
*** 2290,2297 ****
          String name = (String) oneObj.getAttribute(SHORT_NAME);
          if (name != null && shortNameAsAlias) return name;
!         return oneObj.getJDBCMetaData().getTargetTable();
      }
  
!     /**
       * @return true if the given field is null
       */
--- 2292,2313 ----
          String name = (String) oneObj.getAttribute(SHORT_NAME);
          if (name != null && shortNameAsAlias) return name;
!         return oneObj.getJDBCMetaData().getTargetSQLTable(oneObj.getDataContext());
      }
  
!         /**
!          * @return
!          */
!         public DBConnection getConnection() {
!                 return localConnection;
!         }
! 
!         /**
!          * @param connection
!          */
!         public void setConnection(DBConnection connection) {
!                 localConnection = connection;
!         }
! 
!         /**
       * @return true if the given field is null
       */
***************
*** 2301,2305 ****
      }
  
- 
  } /* MultiDBObject */
- 
--- 2317,2319 ----



More information about the cvs mailing list