Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WSAD with Oracle - Cant retrieve metadata 1

Status
Not open for further replies.

samasamajam

Programmer
Dec 27, 2002
13
GB
i am developing CMP entity beans in WSAD4.0.3 with Oracle 8.1.7 as the database. I have defined a custom finder method using ejbql --> "select e from TestBean e where e.TestName = ?1" while generating the deploy code for this bean i get the following error ---> " cant find metadata for the column TestName". TestName is a column(not primary key) in my database for the table Test. The mapping works fine because the create and findByPrimary Key are working fine, so it is not a problem with datasource.
The finder method works fine with db2 database

it is urgent, plss suggest
 
I have a similar question when write cmp mapping to oracle.
Detail is:
1. Select two table in oracle db, with 1:many relationship
2. New a ejb project in WSAD
3. generate EJB TO RDB MAPPING, and WSAD build two ejbs automatically
4. open 'ejb extension editor', create a relationship between these two beans
5. finally, generate deploy code for beans, an alert window pop up, indicating can't generate deploy code...
****All these steps succeed on DB2.****
Why?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top