Tag: cws_src680_qiq
User: fs      
Date: 2006/06/26 14:05:44

Modified:
   dba/connectivity/qa/connectivity/tools/HsqlDatabase.java

Log:
 +createRowSet

File Changes:

Directory: /dba/connectivity/qa/connectivity/tools/
===================================================

File [changed]: HsqlDatabase.java
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/qa/connectivity/tools/HsqlDatabase.java?r1=1.2.54.1&r2=1.2.54.2
Delta lines:  +10 -3
--------------------
--- HsqlDatabase.java   22 Jun 2006 09:20:31 -0000      1.2.54.1
+++ HsqlDatabase.java   26 Jun 2006 21:05:42 -0000      1.2.54.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: HsqlDatabase.java,v $
  *
- *  $Revision: 1.2.54.1 $
+ *  $Revision: 1.2.54.2 $
  *
- *  last change: $Author: fs $ $Date: 2006/06/22 09:20:31 $
+ *  last change: $Author: fs $ $Date: 2006/06/26 21:05:42 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -193,7 +193,7 @@
      */
     public void createTable( HsqlTableDescriptor _tableDesc ) throws 
SQLException
     {
-        String createStatement = "CREATE TABLE \"";
+        String createStatement = "CREATE CACHED TABLE \"";
         createStatement += _tableDesc.getName();
         createStatement += "\" ( ";
 
@@ -243,6 +243,13 @@
     public DataSource getDataSource()
     {
         return m_dataSource;
+    }
+
+    /** creates a row set operating the database, with a given command/type
+     */
+    public RowSet createRowSet( int _commandType, String _command )
+    {
+        return new RowSet(m_orb, getDocumentURL(), _commandType, _command);
     }
 
     protected void finalize() throws Throwable




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to