Re: maven torque:insert-sql fails: org/apache/tools/ant/PropertyHelper

2009-10-22 Thread Jon August
I had followed the directions for 3.3, but when I do this: maven plugin:download -DartifactId=maven-torque-plugin - DgroupId=torque -Dversion=3.2 everything works fine... Something wrong with 3.3? On Oct 22, 2009, at 1:06 AM, Jon August wrote: I'm really stuck on this. Clearly from

Re: maven torque:insert-sql fails: org/apache/tools/ant/PropertyHelper

2009-10-22 Thread Jon August
this helps, Álvaro From: Jon August j...@internection.com To: Apache Torque Users List torque-user@db.apache.org Sent: Thu, October 22, 2009 5:36:24 AM Subject: Re: maven torque:insert-sql fails: org/apache/tools/ant/ PropertyHelper I had followed

Re: maven torque:insert-sql fails: org/apache/tools/ant/PropertyHelper

2009-10-22 Thread Jon August
I'll take that as a read up on Hibernate. On Oct 22, 2009, at 8:14 AM, Alvaro Coronel wrote: Yeah, I love maven too ... NOT! From: Jon August j...@internection.com To: Apache Torque Users List torque-user@db.apache.org Sent: Thu, October 22, 2009 10:02:58

maven torque:insert-sql fails: org/apache/tools/ant/PropertyHelper

2009-10-20 Thread Jon August
I moved to a new development machine and having some trouble getting back to normal here... Got everything working up until the maven torque:insert-sql I get this: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Our

Re: maven torque:insert-sql fails: org/apache/tools/ant/PropertyHelper

2009-10-20 Thread Jon August
Vandahl wrote: Jon August wrote: I moved to a new development machine and having some trouble getting back to normal here... org/apache/tools/ant/PropertyHelper Looks like a ClassNotFoundException. Which versions of ANT do you have in your classpath? Bye, Thomas

Re: maven torque:insert-sql fails: org/apache/tools/ant/PropertyHelper

2009-10-20 Thread Jon August
.. /Users/jon/.maven/cache/maven-torque-plugin-3.3/plugin.jelly Element... torque-sql-exec Line.. 542 Column 40 org/apache/tools/ant/PropertyHelper Total time: 1 seconds Finished at: Tue Oct 20 16:30:40 EDT 2009 On Oct 20, 2009, at 4:13 PM, Thomas Vandahl wrote: Jon August wrote: I

Re: BigDecimal and MySQL decimal

2006-12-14 Thread Jon August
=moncotiza required=true scale=2 size=7 type=DECIMAL / What I usually do is to define the schema.xml file and from it obtain the .sql file via ant to create the database. Good luck, Álvaro. Jon August [EMAIL PROTECTED] wrote: Hey, I'm using

Re: AW: BigDecimal and MySQL decimal

2006-12-14 Thread Jon August
: Try size=7,2 instead of size=.. scale=.. -Ursprüngliche Nachricht- Von: Jon August [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 14. Dezember 2006 13:52 An: Apache Torque Users List Betreff: Re: BigDecimal and MySQL decimal Hey Alvaro, Thanks for the suggestion. I tried

Re: AW: BigDecimal and MySQL decimal

2006-12-14 Thread Jon August
The suggestions by Thoralf and Alvaro fixed the problem. My issue with the NullPointerException was unrelated. Thanks for the help. -Jon On Dec 14, 2006, at 8:35 AM, Jon August wrote: Thanks - that fixed the maven torque... Now when I do the save from my object, I get an error that I

Re: AW: BigDecimal and MySQL decimal

2006-12-14 Thread Jon August
new XML attributes. -Original Message- From: Jon August [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 8:55 AM To: Apache Torque Users List Cc: Thoralf Rickert Subject: Re: AW: BigDecimal and MySQL decimal The suggestions by Thoralf and Alvaro fixed the problem. My issue

MapBuilder failed trying to instantiate

2006-12-13 Thread Jon August
Hello, I'm working on a new project using MySQL. When I start up Tomcat 5.0, I get the errors below. when I try to do an insert, I get this: org.apache.torque.TorqueException: java.lang.ClassNotFoundException: com.internection.washpress.torque.map.ItemMapBuilder I have a feeling it's a

Re: MapBuilder failed trying to instantiate

2006-12-13 Thread Jon August
at the webapp level, you will have a connection pool for each webapp vs a single connection pool if you keep you OM level stuff at the commons/shared level. There are advantages and disadvantages to both ways. -Original Message- From: Jon August [mailto:[EMAIL PROTECTED] Sent: Wednesday

Re: MapBuilder failed trying to instantiate

2006-12-13 Thread Jon August
. If you go into the web container you should see all the classes in your src directories in the web container under WEB-INF/classes. IF they're not there you'll get that error. You can modify the filter or just select COPY ALL. I'd go with the latter. Paul -Original Message- From: Jon

BigDecimal and MySQL decimal

2006-12-13 Thread Jon August
Hey, I'm using decimal (in the schema) to store a dollar amount in my MySQL database. I get the value from a web page and convert it to a BigDecimal before storing it. For some reason, the decimal portion gets truncated and $10.32 gets stored as 10. Should I be using something other

Re: maven torque:insert-sql produces errors with oracle

2005-06-14 Thread Jon August
in a sql plus window, too! greetz, erik -Original Message- From: Jon August [SMTP:[EMAIL PROTECTED] Sent: 13 June 2005 23:03 To: Apache Torque Users List Subject: maven torque:insert-sql produces errors with oracle when I do a: maven torque:insert-sql I get the following errors

maven torque:insert-sql produces errors with oracle

2005-06-13 Thread Jon August
when I do a: maven torque:insert-sql I get the following errors for each of my tables. [torque-sql-exec] [ERROR] Failed to execute: EXCEPTION WHEN TABLE_DOES_NOT_EXIST THEN NULL [torque-sql-exec] [ERROR] java.sql.SQLException: ORA-00900: invalid SQL statement

Communication failure during handshake

2005-05-28 Thread Jon August
Hi, I saw this question asked before on the list, but I didn't see a result. I just installed mysql 4.1.12 and maven 1.0.2. I'm using configuration files that worked on a previous installation. When I did a maven torque:create-db, I get the following. MySQL works just fine with mysql