I am using the following:

Torque Version: 3.2-rc1
Using: ANT, MSSQL

I was able to get around the problem but I believe I now know what the issue was. Inside of the generated schema it was calling a function 'getDate()' that really didn't exist anywhere. That's because I used the default value of (getDate()) in the MSSQL table schema. So I imagine that functions don't carry over so well as defaults in table schema while using torque.

Thomas Fischer wrote:




Hi,

to help you with this, some more information would be needed
- the part of the schema which caused the problem
- the version of Torque you are using
- a relevant snippet of generated code around BaseQuestionnaire.java:45
where the comile error occurs.

    Thomas

Trey Long <[EMAIL PROTECTED]> schrieb am 08.08.2005 18:11:20:

I am trying to compile the Torque generated classes and I am running
into a problem with a getDate() method. The following error is returned:


build:
   [javac] Compiling 51 source files to C:\...\web\WEB-INF\classes
   [javac] C:\...\BaseQuestionnaire.java:45: cannot find symbol
   [javac] symbol  : method getdate()
   [javac] location: class com.provima.pcsw.mssql.BaseQuestionnaire
   [javac]     private Date created = new Date(getdate());
   [javac]                                     ^
   [javac] Note: Some input files use unchecked or unsafe operations.
   [javac] Note: Recompile with -Xlint:unchecked for details.
   [javac] 1 error

Any quick advice would be nice. I don't understand the purpose of this
method or how to regen the classes in another way where this error won't
crop up. I am loathe to edit it out of the class because I don't know
the implications and I don't want to have to edit it every time the
Object Model is built.

Thanks, -Trey

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to