七
七小对
Unregistered / Unconfirmed
GUEST, unregistred user!
小弟通过"import Schema From Database"来建EJB,每次想建一个find方法编译总是出现一大堆错误,恳请高手出手相助啊。错误信息如下:
"cmp-student.ejbgrpx": ERROR: Error from ejbc: Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
"cmp-student.ejbgrpx":
"cmp-student.ejbgrpx": weblogic.ejb20.cmp.rdbms.finders.IllegalExpressionException:
"cmp-student.ejbgrpx": While trying to process Query
"cmp-student.ejbgrpx": Method Name: findbyclno
"cmp-student.ejbgrpx": Parameter Types: (java.lang.String)
"cmp-student.ejbgrpx": EJB Query: select xsm from Student as xsm where xsm.clno=?1
"cmp-student.ejbgrpx": )
"cmp-student.ejbgrpx": Could not parse EJB QL expression: select xsm from Student as xsm where xsm.clno=?1
"cmp-student.ejbgrpx": ERROR: ejbc found errors
高手们,帮忙啊。
"cmp-student.ejbgrpx": ERROR: Error from ejbc: Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
"cmp-student.ejbgrpx":
"cmp-student.ejbgrpx": weblogic.ejb20.cmp.rdbms.finders.IllegalExpressionException:
"cmp-student.ejbgrpx": While trying to process Query
"cmp-student.ejbgrpx": Method Name: findbyclno
"cmp-student.ejbgrpx": Parameter Types: (java.lang.String)
"cmp-student.ejbgrpx": EJB Query: select xsm from Student as xsm where xsm.clno=?1
"cmp-student.ejbgrpx": )
"cmp-student.ejbgrpx": Could not parse EJB QL expression: select xsm from Student as xsm where xsm.clno=?1
"cmp-student.ejbgrpx": ERROR: ejbc found errors
高手们,帮忙啊。