Jbuilder8.0中的實體Bean
一連好久用Jbuilder搞實體Bean ,,,資料庫是用Mysql ,,或Jbuilder中的JDatastore,, 老是出現錯!,,真是鬱悶!!!!
出錯提示:
"mysqlCMP.ejbgrpx": ERROR: Error from ejbc: Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
"mysqlCMP.ejbgrpx": weblogic.ejb20.cmp.rdbms.finders.IllegalExpressionException:
"mysqlCMP.ejbgrpx": While trying to process Query
"mysqlCMP.ejbgrpx": Method Name: findByPrimaryKey
"mysqlCMP.ejbgrpx": Parameter Types: (java.lang.String)
"mysqlCMP.ejbgrpx": EJB Query: SELECT OBJECT(bean) FROM Member AS bean WHERE ( bean.logname = ?1 )
"mysqlCMP.ejbgrpx": Could not parse EJB QL expression: SELECT OBJECT(bean) FROM Member AS bean WHERE ( bean.logname = ?1 )
"mysqlCMP.ejbgrpx": weblogic.ejb20.ejbc.EJBCException: line 1: unexpected token: Member
"mysqlCMP.ejbgrpx": Error in FROM clause, there may be a problem with the FROM Clause.
"mysqlCMP.ejbgrpx": Check that the Range Variable Declarations and the Collection Member Declarations are correct
"mysqlCMP.ejbgrpx": and that no EJB QL keywords are being used as:
"mysqlCMP.ejbgrpx": Range Variable names,
"mysqlCMP.ejbgrpx": Collection Member names,
"mysqlCMP.ejbgrpx": Abstract Schema names,
"mysqlCMP.ejbgrpx": ERROR: ejbc found errors
到底怎麼回事? 第一行中怎麼說是讀'META-INF/weblogic-cmp-rdbms-jar.xml'出錯,,,但我看了,,也沒有什麼錯呀!!!,奇怪,,
反正就是錯在EJB-QL語句中了,,但是EJB-QL語句(在findByFrimaryKey中)是Jbuilder自動生成的呀!
出錯提示:
"mysqlCMP.ejbgrpx": ERROR: Error from ejbc: Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
"mysqlCMP.ejbgrpx": weblogic.ejb20.cmp.rdbms.finders.IllegalExpressionException:
"mysqlCMP.ejbgrpx": While trying to process Query
"mysqlCMP.ejbgrpx": Method Name: findByPrimaryKey
"mysqlCMP.ejbgrpx": Parameter Types: (java.lang.String)
"mysqlCMP.ejbgrpx": EJB Query: SELECT OBJECT(bean) FROM Member AS bean WHERE ( bean.logname = ?1 )
"mysqlCMP.ejbgrpx": Could not parse EJB QL expression: SELECT OBJECT(bean) FROM Member AS bean WHERE ( bean.logname = ?1 )
"mysqlCMP.ejbgrpx": weblogic.ejb20.ejbc.EJBCException: line 1: unexpected token: Member
"mysqlCMP.ejbgrpx": Error in FROM clause, there may be a problem with the FROM Clause.
"mysqlCMP.ejbgrpx": Check that the Range Variable Declarations and the Collection Member Declarations are correct
"mysqlCMP.ejbgrpx": and that no EJB QL keywords are being used as:
"mysqlCMP.ejbgrpx": Range Variable names,
"mysqlCMP.ejbgrpx": Collection Member names,
"mysqlCMP.ejbgrpx": Abstract Schema names,
"mysqlCMP.ejbgrpx": ERROR: ejbc found errors
到底怎麼回事? 第一行中怎麼說是讀'META-INF/weblogic-cmp-rdbms-jar.xml'出錯,,,但我看了,,也沒有什麼錯呀!!!,奇怪,,
反正就是錯在EJB-QL語句中了,,但是EJB-QL語句(在findByFrimaryKey中)是Jbuilder自動生成的呀!
相關文章
- 系統開發中的實體BeanBean
- 怎麼樣在JBUILDERX中實現會話BEAN訪問實體BEAN??UI會話Bean
- websphere & jbuilder8.0WebUI
- [提問]實體bean和會話bean之間的cacheBean會話
- Spring中Bean及@Bean的理解SpringBean
- Weblogic中部署本地實體bean的問題!!WebBean
- Spring中的BeanSpringBean
- 編譯實體Bean出現如下錯誤.....編譯Bean
- [請教] 會話Bean呼叫實體Bean時產生的Conection沒有關閉的異常會話Bean
- 多個人訪問實體Bean,這個Bean訪問幾次資料庫啊?Bean資料庫
- Spring中Bean的作用域SpringBean
- Spring中bean的含義SpringBean
- session bean中的session如何理解?SessionBean
- 領域模型中的實體與ORM中的實體模型ORM
- 實體Bean的jndiName=local/PeopleBean,查詢的時候找不到?Bean
- idea中引入lombok外掛後編譯時實體bean無get/set方法IdeaLombok編譯Bean
- spring注入一個實體bean的集合並指定順序SpringBean
- 利用實體bean物件批量資料傳輸處理Bean物件
- 最佳化EJB實體Bean CMP和資料庫Bean資料庫
- 關於實體Bean的啟用和鈍化,請高手指點!Bean
- 用jbuilder7的import方式開發實體bean,為什麼導進來的bean源程式總被修改?UIImportBean
- Spring中bean的生命週期SpringBean
- Springboot中的Bean作用域Spring BootBean
- Spring 當中的Bean 作用域SpringBean
- 如何使jbuilder8.0支援struts1.1UI
- Spring中bean的四種注入方式SpringBean
- Spring中Bean的作用域有哪些?SpringBean
- Spring中與Bean相關的介面SpringBean
- Spring 中 bean 的迴圈依賴SpringBean
- spring中bean.xml的http://www.springframework.org/schema/bean報錯SpringBeanXMLHTTPFramework
- servlet中手動獲取spring的beanServletSpringBean
- 如何使用bean:write輸出session中的資訊BeanSession
- Spring Bean Scope 有狀態的Bean和無狀態的BeanSpringBean
- Spring實戰:裝配bean-自動化裝配beanSpringBean
- 獲取Spring容器中Bean例項的工具類(Java泛型方法實現)SpringBeanJava泛型
- Java SpringBoot 中,動態執行 bean 物件中的方法JavaSpring BootBean物件
- Spring中與bean有關的生命週期SpringBean
- JAVA面試題:Spring中bean的生命週期Java面試題SpringBean