RE: No build-torque.xml in 3.1 distribution

2003-09-17 Thread Amit Rana
Sorry, I downloaded " torque-gen-3.1.tar.gz" not src > -Original Message- > From: Amit Rana [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 18, 2003 3:35 PM > To: 'Apache Torque Users List' > Subject: RE: No build-torque.xml in 3.1 distribution > > I downloaded "torque-gen-3.1-src.t

RE: No build-torque.xml in 3.1 distribution

2003-09-17 Thread Amit Rana
I downloaded "torque-gen-3.1-src.tar.gz" , 2 days back and it has all the required files. Amit. > -Original Message- > From: Martin Poeschl [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 18, 2003 3:31 PM > To: Apache Torque Users List > Subject: Re: No build-torque.xml in 3.1 distr

Re: No build-torque.xml in 3.1 distribution

2003-09-17 Thread Martin Poeschl
try the torque-gen dist ;-) martin Juan Pablo Liska wrote: I cant find a build-torque.xml in the 3.1 binary distribution. Am i missing a step that's not yet in the tutorial? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED]

Jim Caserta is out of the office / in class

2003-09-17 Thread jcaserta
I will be out of the office starting 09/17/2003 and will not return until 09/19/2003. If you have a Durable Medical Equipment situation that needs attention, please contact Jennifer Cordiano at ext 4803. Thank You, Jim - To un

Re: runtime torque problem..help...solved

2003-09-17 Thread love cars
Kinda silly mistake on my part, solved. Thanks. love cars <[EMAIL PROTECTED]> wrote:Hi All, I successfully ran insert-sql task; all tables including the ID_TABLE are created. However, when i run the client, i get an 'ORA-00942: table or view does not exist' error for all tables including the ID

RE: utility of a setfields tool?

2003-09-17 Thread Josh Holtzman
I just use the commons beanutils to copy all of the fields in my struts action forms (basically just user input collected into a bean) into my torque object. Magic! Of course, this only helps if you're using struts... which you should ;) Josh = JOSH HOLTZMAN Web Deve

Problem upgrading from 3.0 -> 3.1 ( Bad Timestamp )

2003-09-17 Thread anon permutation
Hi, After I upgraded my code from Torque 3.0 to Torque 3.1, I get the following error when I run the app. java.sql.SQLException: ERROR: Bad timestamp external representation '2003091600' at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:131) at org.postgresql.j

utility of a setfields tool?

2003-09-17 Thread Juan Pablo Liska
I am working on a utility that would use the JavaNameGenerator and reflection to set all the fields in a data object given the object and the httpserveletresponse. two changes would be required for this to work with other people's torque: - have to modify the abstract class BaseObject so that it h

RE: om classes with compile errors

2003-09-17 Thread Amit Rana
> Latest version meaning 3.1? I've had a lot of problems with 3.0 and the > OM class generation -- mostly in the way of syntax errors in the > generated code. I am sorry I should have mentioned this earlier. Yes, I am working with 3.1 > It may do you well to search the tubine-user archives, as mo

No build-torque.xml in 3.1 distribution

2003-09-17 Thread Juan Pablo Liska
I cant find a build-torque.xml in the 3.1 binary distribution. Am i missing a step that's not yet in the tutorial? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Sudden torque breakage

2003-09-17 Thread Graham Leggett
Hi all, I recently made a trivial change (a required column on a table was set to not required) to my torque database schema file, and now my om objects refuse to compile. maven torque completes successfully, but maven jar:install throws 100 errors, some of which are: /home/sam/minfrin/src/fm

RE: No Java Source Created! Why?

2003-09-17 Thread Xu Jie
Thanks, but according to tutorial, source will be generated when ant -f build-torque.xml And, at this time, I have not created my database on AS400 yet. If you can provide more detail on "a modified jdbc ant task", it will be greatly appreciated. Thanks Jay Xu -Original Message- Fro

Re: Depreciated method in generated classes

2003-09-17 Thread Dave Newton
On Wed, 2003-09-17 at 16:22, Seth Milder wrote: > When I compile my om classes, I get this message: > > "getMapBuilder() in org.apache.torque.util.BasePeer has been > deprecated" > > > I am using JDK 1.4.2 and Torque 3.1. Has anyone else seen this? Yeah. It's deprecated. Check out the API

Depreciated method in generated classes

2003-09-17 Thread Seth Milder
When I compile my om classes, I get this message: "getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated" I am using JDK 1.4.2 and Torque 3.1. Has anyone else seen this? -- Seth Milder Department of Physics and Astronomy MS 3f3 George Mason University Fairfax, VA http://www

Re: No Java Source Created! Why?

2003-09-17 Thread luca . forni
Check the schema created by jdbc ant task. I use a modified jdbc ant task, otherwise it doesn't retrive table information from my AS400. Hope to help you! Bye Ing. Luca Forni SORMA S.p.a. Corso Vinzaglio, 4 - 10121 TORINO (ITALY) Tel. +39 011 53 33 22 http://www.sorma.com I am new to Torque p

No Java Source Created! Why?

2003-09-17 Thread Xu Jie
I am new to Torque project so I was experiementing with simple example that come with Torque release package. After some modification, all ant commands finished successfully and actually I created database file on AS400. But I did not see the Java source for the object model, only report.bookstore

Re: om classes with compile errors

2003-09-17 Thread Gary Shea
Another possibility for the 'private int apiJpPrice = ;' problem is that you have nullable integer fields. The jdbc target isn't very smart about them -- the resulting field spec will be for a primitive element with a default value of "", resulting in what you see above. If this is the problem, y

Re: om classes with compile errors

2003-09-17 Thread brian janaszek
On Wed, 2003-09-17 at 05:02, Amit Rana wrote: > Hi, > > I am using the latest release and followed following steps Latest version meaning 3.1? I've had a lot of problems with 3.0 and the OM class generation -- mostly in the way of syntax errors in the generated code. > 1. created xml sche

om classes with compile errors

2003-09-17 Thread Amit Rana
Hi, I am using the latest release and followed following steps 1. created xml schema of our existing tables using "jdbc" ant task //then other steps to create id table, init etc. 2. created om classes using "om" ant task A lot of classes generated had following kinds of compile errors: pr