You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by se...@apache.org on 2004/08/24 04:35:04 UTC

cvs commit: db-torque/profile mysql.profile postgres.profile

seade       2004/08/23 19:35:04

  Modified:    profile  Tag: TORQUE_3_1_BRANCH mysql.profile
                        postgres.profile
  Log:
  Tweak the driver jar names.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.22.2.1  +1 -1      db-torque/profile/mysql.profile
  
  Index: mysql.profile
  ===================================================================
  RCS file: /home/cvs/db-torque/profile/mysql.profile,v
  retrieving revision 1.22
  retrieving revision 1.22.2.1
  diff -u -r1.22 -r1.22.2.1
  --- mysql.profile	18 Aug 2003 15:20:09 -0000	1.22
  +++ mysql.profile	24 Aug 2004 02:35:04 -0000	1.22.2.1
  @@ -1,7 +1,7 @@
   # location of jar that you will be using for testing
   # so that it can be copied into the dist/lib directory.
   
  -torque.testDatabaseJar = ${maven.repo.local}/mm.mysql/jars/mm.mysql-2.0.13-bin.jar
  +torque.testDatabaseJar = ${maven.repo.local}/mm.mysql/jars/mm.mysql-2.0.14-bin.jar
   torque.idMethod = idbroker
   #torque.idMethod = native
   torque.defaultDatabase = bookstore
  
  
  
  1.18.2.2  +1 -1      db-torque/profile/postgres.profile
  
  Index: postgres.profile
  ===================================================================
  RCS file: /home/cvs/db-torque/profile/postgres.profile,v
  retrieving revision 1.18.2.1
  retrieving revision 1.18.2.2
  diff -u -r1.18.2.1 -r1.18.2.2
  --- postgres.profile	21 Jan 2004 15:20:10 -0000	1.18.2.1
  +++ postgres.profile	24 Aug 2004 02:35:04 -0000	1.18.2.2
  @@ -1,7 +1,7 @@
   # location of jar that you will be using for testing
   # so that it can be copied into the dist/lib directory.
   
  -torque.testDatabaseJar = ${maven.repo.local}/postgresql/jars/postgresql-7.3-jdbc2.jar
  +torque.testDatabaseJar = ${maven.repo.local}/postgresql/jars/postgresql-7.3-jdbc3.jar
   torque.idMethod = idbroker
   #torque.idMethod = native
   torque.defaultDatabase = bookstore
  
  
  

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


Re: cvs commit: db-torque/profile mysql.profile postgres.profile

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
seade@apache.org writes:

>  -torque.testDatabaseJar = ${maven.repo.local}/mm.mysql/jars/mm.mysql-2.0.13-bin.jar
>  +torque.testDatabaseJar = ${maven.repo.local}/mm.mysql/jars/mm.mysql-2.0.14-bin.jar

We should update this at some point.

The official release is called

mysql-connector-java-2.0.14-bin.jar and should be put into

${maven.repo.local}/mysql/jars/mysql-connector-java-2.0.14-bin.jar

(http://dev.mysql.com/downloads/connector/j/2.0.html)

The latest release is mysql-connector-java-3.0.14-production-bin.jar

${maven.repo.local}/mysql/jars/mysql-connector-java-3.0.14-production-bin.jar

(http://dev.mysql.com/downloads/connector/j/3.0.html)

I hate the fscking renaming of the jars on ibiblio. If they insist on
collecting everything in the Java world, they should at least try to
get it right.


>  -torque.testDatabaseJar = ${maven.repo.local}/postgresql/jars/postgresql-7.3-jdbc2.jar
>  +torque.testDatabaseJar = ${maven.repo.local}/postgresql/jars/postgresql-7.3-jdbc3.jar

same here. The official jars are called

pg74.215.jdbc3.jar for PostgreSQL 7.4
pg73jdbc3.jar for PostgreSQL 7.3.x

available from http://jdbc.postgresql.org/download.html

Yes, their naming sucks. And with PostgreSQL changing their policy
regarding auto-commit lately [1], you should make very, very
sure, that you get the right driver for your PostgreSQL version.

	Regards
		Henning

[1] Basically they turn it always on and let the database sort it
    out... ...along comes something like Hibernate; insisting on
    "auto-commit=off". Boom!
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

"Fighting for one's political stand is an honorable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems."
                       -- Michelle Levesque, "Fundamental Issues with
                                    Open Source Software Development"

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