What you have described is almost all available now. You can execute any JBossQL at runtime using DynamicQL. To make it available to any code, just add a home method to some bean the calls an internal ejbSelect method that is mapped to DynamicQL.

What this doesn't get you is the ability to query across applications. I also don't know what you mean by standard JDBC functionality.

-dain

Pete Beck wrote:
Would this allow JBossQL be used in an ad-hoc manner?  So you could use
it in a very similar way to JDBC, but in the EJB domain rather than the
database domain?

A simple solution might be to have a JBossQL -> Native SQL convertor, so
you can use the standard JDBC functionality provided by your database,
but write your queries in JBossQL.  I expect this functionality must
already exist somewhere.

On Tue, 2002-11-12 at 19:10, Dain Sundstrom wrote:

Pete,

To better support complex reporting we just need to add more features to JBossQL select statements (e.g., group by, having, sub queries, and multiple fields in the select clause). I plan on adding most of these features. It would be cool if sun added this stuff, but I find it incredibly unlikely.

What Michael is proposing is adding INSERT, UPDATE, and DELETE statements to JBossQL. This is a very cool idea and I hope he spends some time designing a grammar. Once we have a grammar the implementation should be fairly easy.

-dain


--
xxxxxxxxxxxxxxxxxxxxxxxx
Dain Sundstrom
Chief Architect JBossCMP
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to