You mean to say, all the implementation upto phase 2, is in org.exolab.castor.jdo.oql package. If this is the case then I can directly use it for parsing OQL Strings. Do you know where to get some document on start using it.
Basically, In my function, I want to pass OQL syntaxed String. e.g. SELECT o FROM Customer o WHERE o.name = 'Meraj' then inside that function, using OQL to SQL Translator, I want to parse this string and make a parse tree out of it. Once, Parse tree is ready then I want to contruct my own query based on the Parse Tree Tokens contructed by OQL Parser. This final query can be for Toplink or xPath etc. Please give me your inputs. thanks, Meraj -----Original Message----- From: Bruce Snyder [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 4:31 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] OQL to SQL Translator This one time, at band camp, Beg, Meraj said: BM>In our project, we want to utilize Castor OQL to SQL Translator. BM>I want to know how and where can I get the current working version of this BM>Translator along with some sample examples. BM>I read that it is currently in phase 3 development. But what ever BM>functionality have been implemented till phase 2 is sufficient for me in BM>our first phase of the project. Meraj, The Castor OQL engine is part of the JDO code base and is located in org.exolab.castor.jdo.oql. It will be replaced soon by an ANTLR implementation which will allow functionality to easily added. What exactly are you looking to do with it? It sounds as if you are assuming that the OQL engine is a standalone portion or Castor, which it is not. Bruce -- perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");' The Castor Project http://www.castor.org/ Apache Geronimo http://incubator.apache.org/projects/geronimo.html ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
