|
Thx for ur reply.
I created a table with name "product".I used JBuilder to create a CMP EJB2.0 bean with name Product, which includes six filesroduct.java,ProductBean.java, ProductHome.java, ProductLocal.java, ProductLocalHome.java, ProductPK.java
When I wanted to define "finder" method for this bean, Jbuilder wanted me to write query for this method. I know I should use EJB QL, not SQL. After I inputed that sentenc, then make it, JBuilder report errors as I posted before.
I did not produce any code. I used JBuilder to create EJB directly. I did not understand ur meaning quite well, I am a beginner for EJB . |
|