RE: MySQL driver

2003-11-21 Thread Cloves Carneiro Jr.
I am using org.apache.torque.dsfactory.SharedPoolDataSourceFactory and having no problems with it .. give it a try Cloves Carneiro Jr -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 5:39 PM To: [EMAIL PROTECTED] Subject: RE: MySQL

RE: MySQL driver

2003-11-21 Thread Cloves Carneiro Jr.
I use the driver you mentioned (com.mysql.jdbc.Driver). Are you having any problems with it ? Cloves Carneiro Jr -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 5:31 PM To: [EMAIL PROTECTED] Subject: MySQL driver Have any of you

RE: newbie's questions help pls

2003-11-13 Thread Cloves Carneiro Jr.
Hi Vikas, You twice set ";INTEGER" as a type in your XML: This might be causing an error. Cloves Carneiro Jr -Original Message- From: Vikas Phonsa [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 2:09 PM To: 'Apache Torque Users List' Subject: RE: new

RE: newbie's questions regarding tutorials

2003-11-12 Thread Cloves Carneiro Jr.
Hi Vikas I assume the recommended distribution of Torque is the 3.1 release. I've downloaded both torque-3.1.zip and torque-gen-3.1.zip. The tutorial you mentioned seems to be a bit outdated. Extract torque-gen-3.1.zip to a folder, edit build.properties to point to your database and create the

RE: How to update multiple rows

2003-11-11 Thread Cloves Carneiro Jr.
k So, you mean there's no way a bulk update can happen if the primary key is not included using doUpdate(Criteria) ? -Original Message- From: Bill Leng [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 4:05 PM To: Apache Torque Users List Subject: Re: How to update multiple rows

RE: How to update multiple rows

2003-11-11 Thread Cloves Carneiro Jr.
Hey I am also new to Torque and have a simple question. From what you described, using the book example, would the criteria objects for those two UPDATE statements be the same? UPDATE PRICE = 0, AUTHOR = 'ME' WHERE ID>100 and UPDATE PRICE = 0 WHERE AUTHOR = 'ME' AND ID > 100 Criteria c = new Cr