on 04-21-2008 8:28 AM
Hi all,
I'm writing select * from BIT_OEM in entity bean, but it is not validating the query saying this ==> EJB QL statement is invalid. See General User Output View for details.
And General User output View is not showing any error description..
pls help me with this..
regards,
Amey
try the following ejb query for selecting records
select object(o) from DataBeanname o
here databeanname is name of ur databean
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this one..
Select Object(p) from <EntityBean Name > as p
Hope this would helps u..
Regards
LakshmiNarayana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to specify the column names instead of '*'.
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/EJBQL5.html
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.