Re: AW: Storing lots of (unnamed?) objects with ozone
Per Nyfelt <[email protected]>
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Organization | Resourcing Networks |
| Message-ID | <[email protected]> |
Yes and this has been discussed before. It would be a good idea but so far no one has needed it badly enough to implement support for it. There are some (probably better) alternatives for querying (QBE or SODA) but the same things applies there. Maybe after the persistent collections are feature complete it would make sense to build a queryable interface on to of those collections. One way that would probably be pretty straightforward is to adopt jxpath (from jakarta commons) but I'm sure there are several ways provide ad hoc query support for Ozone. If you create on I'm sure many people would be interested in it... For more info search the mail list archives. Best regards, Per tisdagen den 25 maj 2004 09.27 skrev Christian Merenda: > > Every technology has its pros and cons. The big pro for a relational > > (SQL supporting) database lies in its flexibility to process all sorts > > of different queries that are specified at runtime. > > Why isn´t there a possibility in Ozone to process OQL queries? Apart > from performance issues it would be quite useful to be able to query the > database. Unlike SQL, OQL queries would also be able to use methods in > its queries. So for example the salary might be calculated at runtime > with a formula using the method d.salary()... > > select avg(d.salary()) > from developer d > > This would be quite an exciting feature... > > Christian > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id66&op=Click > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id66&op=click