Hi ,
We are using WS v5.1.1 and
EJB 2.0 .In our project we have to use db-tables which are present in the same database but doesn't have the corresponding entity beans.If I write a EJBQL finder query for accessing that table(ProductInfo)
Select object(o) from ShowRoom o where o.pid in(select p.id from ProductInfo p where p.name='abc')
I get the following error --abstract schema ProductInfo not defined.
Productinfo has schema mapping with the entity bean in a different ear file deployed as a different project.I am able to access all the entities from this ear file from my project but cann't use the tables from the other project to query .
Is there any way I can query these tables from my project without creating corresponding entities for them.
with our EJB 1.1 we had the flexibity of querying any table with or without corresponding entity using the WhereClauseFinderDescriptor .Does EJB 2.0 have any of that features in EJBQL.
Thanks in advance