> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of K C Lau
> Sent: 2. desember 2002 06:05
> To: [EMAIL PROTECTED]
> Subject: [Middlegen-user] error with new java.sql.Timestamp(String)
>
>
> With Middlegen-2.0-b2-dev CVS on Windows 2000, JBoss 3.0.0 and Sun jdk
> 1.3.1_04-b02 on my existing Oracle 8.1.7 tables,
> I got compilation errors during Compile-web with:
>
> compile-web:
> Overriding previous definition of reference to compile.class.path
>      [javac] Compiling 64 source files to
> C:\middlegen-2.0-b2-dev\samples\build\classes
>      [javac]
> C:\middlegen-2.0-b2-dev\samples\build\gen-src\airline\web\struts\D
eleteJobHistoryAction.java:59:
> cannot resolve symbol
>      [javac] symbol  : constructor Timestamp  (java.lang.String)
>      [javac] location: class java.sql.Timestamp
>      [javac]       java.sql.Timestamp startDate = new
> java.sql.Timestamp(getParameter(request, "startDate"));
>
> The case in question is a composite primary key with NUMBER(6)
> and DATE(7),
> failing on the DATE.
>
> Any hints on how to work around this problem?
>

Fix the Struts plugin or don't use it. It's not smart enough to handle all
types yet.

Aslak

> Thanks,
> KC Lau.
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to