db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject cvs commit: db-torque/xdocs changes.xml
Date Tue, 14 Jun 2005 20:51:13 GMT
tfischer    2005/06/14 13:51:13

  Modified:    src/generator/src/java/org/apache/torque/task
                        TorqueJDBCTransformTask.java
               xdocs    changes.xml
  Log:
  The TorqueJDBCTransformTask now creates a name attribute for the database element.
  Fixes TRQS286
  
  Revision  Changes    Path
  1.9       +3 -2      db-torque/src/generator/src/java/org/apache/torque/task/TorqueJDBCTransformTask.java
  
  Index: TorqueJDBCTransformTask.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/task/TorqueJDBCTransformTask.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TorqueJDBCTransformTask.java	22 Feb 2004 06:27:41 -0000	1.8
  +++ TorqueJDBCTransformTask.java	14 Jun 2005 20:51:13 -0000	1.9
  @@ -80,7 +80,7 @@
       protected DocumentImpl doc;
   
       /** The document root element. */
  -    protected Node databaseNode;
  +    protected Element databaseNode;
   
       /** Hashtable of columns that have primary keys. */
       protected Hashtable primaryKeys;
  @@ -197,6 +197,7 @@
           List tableList = getTableNames(dbMetaData);
   
           databaseNode = doc.createElement("database");
  +        databaseNode.setAttribute("name", dbUser);
   
           // Build a database-wide column -> table map.
           columnTableMap = new Hashtable();
  
  
  
  1.164     +5 -0      db-torque/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/xdocs/changes.xml,v
  retrieving revision 1.163
  retrieving revision 1.164
  diff -u -r1.163 -r1.164
  --- changes.xml	14 Jun 2005 20:39:49 -0000	1.163
  +++ changes.xml	14 Jun 2005 20:51:13 -0000	1.164
  @@ -28,6 +28,11 @@
     <body>
   
     <release version="3.2-dev" date="in CVS">
  +    <action type="fix" dev="tfischer" issue="TRQS286">
  +      The TorqueJDBCTransformTask now creates a name attribute for the database
  +      element. The attribute value is the name of the database user used to 
  +      connect to the database.
  +    </action>
       <action type="add" dev="tfischer" issue="TRQS266">
         For db2, msaccess, oracle, postgresql and sybase, the description attributes
         from the schema.xml are inserted as comments into the database.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message