db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/generator/src/templates/ojb/repository MainRepository.vm
Date Thu, 26 Jun 2003 22:08:49 GMT
mpoeschl    2003/06/26 15:08:49

  Modified:    src/generator/src/templates/ojb/repository MainRepository.vm
  Log:
  fix jdbc-connection-descriptor
  
  now the generated repository files work with ojb-1.0 :-))
  
  Revision  Changes    Path
  1.4       +5 -3      db-torque/src/generator/src/templates/ojb/repository/MainRepository.vm
  
  Index: MainRepository.vm
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/templates/ojb/repository/MainRepository.vm,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MainRepository.vm	26 Jun 2003 17:38:33 -0000	1.3
  +++ MainRepository.vm	26 Jun 2003 22:08:48 -0000	1.4
  @@ -21,15 +21,17 @@
        the Connection specified here will be used. -->
   
     <jdbc-connection-descriptor id="default"
  +    jcd-alias="default"
  +    default-connection="true"
       platform="$ojbPlatform"
       jdbc-level="${jdbcLevel}"
     #if ($ojbUseJNDI)
       jndi-datasource-name="$ojbJNDISource"
     #else
       driver="$databaseDriver"
  -    protocol="jdbc"
  -    subprotocol="$database"
  -    dbalias="$databaseName"
  +    protocol="$urlProtocol"
  +    subprotocol="$urlSubprotocol"
  +    dbalias="$urlDbalias"
     #end
       username="$databaseUser"
       password="$!databasePassword"
  
  
  

Mime
View raw message