db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EP...@upstate.com
Subject RE: Error in Torque Generated Java Code
Date Mon, 12 May 2003 22:39:56 GMT
Not sure what error you are getting, but I am attempting to build Turbine
CVS head with Maven CVS Head.   I found one issue that I fixed by passing in
the basePrefix as a variable in the plugin.  Otherwise my Base* objects came
out at $basePrefixMyObject.

Now however, the new save(javax.sql.Connection) method is not being created
in the generated code.  I get errors like this:

D:\java\dev\jakarta-turbine\target\src\org\apache\turbine\services\security\
torq
ue\om\TurbineUserGroupRole.java:12:
org.apache.turbine.services.security.torque.
om.TurbineUserGroupRole should be declared abstract; it does not define
save(jav
a.sql.Connection) in org.apache.torque.om.BaseObject
public  class TurbineUserGroupRole
        ^

Even though the jar has an Object.vm that supposedly deines the method!  Is
this what you are getting?

Eric Pugh

-----Original Message-----
From: Eric Emminger [mailto:eric@ericemminger.com]
Sent: Monday, May 12, 2003 5:46 PM
To: Turbine Torque Users List
Cc: rafimf@yahoo.com.au
Subject: Re: Error in Torque Generated Java Code


Rafi

The attachment didn't work. Could you send it inline or try again?

Eric

Rafi Mohamed wrote:
> Hi,
> This is my first email. Apologies if I have sent this
> email to the wrong list. If so, please let me know the
> right Email ID to send to.
> 
> Problem Description :
> I generated java code for a mysql schema (which was 
> generated by the ANT JDBC task from a mysql database).
> I decided to compile the generated code without
> modification using 'ant compile' and got a few errors.
> I have attached to this email. Could someone help.
> 
> Thanks,
> Rafi Mohamed.
> 
> http://mobile.yahoo.com.au - Yahoo! Mobile
> - Check & compose your email via SMS on your Telstra or Vodafone mobile.
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message