Manoj Kumar wrote:
Hi,
I am looking for a tool which can be used to validate EJB-QL not
only in terms of the syntax but also the result which a particular
EJB-QL query will fetch.
Is anybody aware of such a tool.
If you are using WebLogic, you can invoke
weblogic.ejb20.cmp.rdbms.finders.Finder:
D:\java\java141>java weblogic.ejb20.cmp.rdbms.finders.Finder "SELECT
OBJECT(b) FROM BandEJB as b"
+++++++++ PARSE QUERY:
SELECT OBJECT(b) FROM BandEJB as b
ROOT
| SELECT
| | SELECT
| | OBJECT -- b
| FROM
| | FROM
| | AS
| | | ID -- BandEJB
| | | ID -- b
--
C�dric
http://beust.com/weblog
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".