Pete Clark
2002-09-26 12:00:02 UTC
Okay, I replaced the jars with the jars used in the 2.0b1 samples lib
directory and I'm now getting Local and LocalHome interfaces.
Next problems:
1) What happened to my primary key constructors? I can no longer with
middlegen 2.0 get PK classes that let me create a primarykey like
TableTPK(Integer primaryKey) . and I have pkclass=true.
2) I'm generating finder methods and they're being incorrectly
translated to JBoss. for example.
08:42:01,530 DEBUG [findByCurrentVersionId] EJB-QL: SELECT DISTINCT
OBJECT(o) FROM AppT o WHERE
o.currentVersionId = ?1
translates to:
08:42:01,530 DEBUG [findByCurrentVersionId] SQL: SELECT DISTINCT FROM
app_t t0_o WHERE t0_o.cu
rrentVersionID = ?
. missing the field names in the generated SQL. Is this a Jboss bug?
Pete
directory and I'm now getting Local and LocalHome interfaces.
Next problems:
1) What happened to my primary key constructors? I can no longer with
middlegen 2.0 get PK classes that let me create a primarykey like
TableTPK(Integer primaryKey) . and I have pkclass=true.
2) I'm generating finder methods and they're being incorrectly
translated to JBoss. for example.
08:42:01,530 DEBUG [findByCurrentVersionId] EJB-QL: SELECT DISTINCT
OBJECT(o) FROM AppT o WHERE
o.currentVersionId = ?1
translates to:
08:42:01,530 DEBUG [findByCurrentVersionId] SQL: SELECT DISTINCT FROM
app_t t0_o WHERE t0_o.cu
rrentVersionID = ?
. missing the field names in the generated SQL. Is this a Jboss bug?
Pete