Hallo K, Tuesday, November 26, 2002, 4:32:46 AM, you wrote:
> I tried the samples in Middlegen-2.0-b1 on Windows 2000, JBoss 3.0.0 and > Sun jdk 1.3.1_04-b02. > It ran fine with hsqldb. Thanks for this impressive product. > I then tried the samples with an Oracle 8.1.7 database with already > existing tables. > Compilation fails on many generated action classes during Compile-web with: > compile-web: > Overriding previous definition of reference to compile.class.path > [javac] Compiling 1054 source files to > C:\middlegen-2.0-b1\samples\build\classes > [javac] > >C:\middlegen-2.0-b1\samples\build\gen-src\airline\web\struts\DeleteAmTJobAction.java:60: > > cannot resolve symbol > [javac] symbol : constructor BigDecimal (java.math.BigDecimal) > [javac] location: class java.math.BigDecimal > [javac] java.math.BigDecimal amTJob_PK = new > java.math.BigDecimal(jobId); [...] After the first Middlegen run you have to edit the middlegen-prefs.[xml|properties] and manually replace every java.lang.BigDecimal with java.lang.Integer. Oh, and if you are already at this, take care of the java.sql.Timestamp and all the primitive data types if you like to. > Thanks, > KC Lau. -- MfG, Jens ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user