cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank" <faro...@hotmail.com>
Subject How do you deal with AS400 schemas
Date Tue, 13 Feb 2007 16:37:03 GMT
Hello,
Cayenne is generating code that has # because our AS400 database tables use 
these as field names.
Severity and Description Path Resource Location Creation Time Id
Syntax error on token "Invalid Character", , expected 
jcdsurvey/src/stemc/cayenne/as400/auto _Bsypemp.java line 199 1171384311117 
13668

public static final String EMEMP#_PK_COLUMN = "EMEMP#";
public static final String EMHSP#_PK_COLUMN = "EMHSP#";

Should I just use a Raw Sql?
I had to remove the # from the objEntity as Cayenne complained.

Thanks

Frank 


Mime
View raw message