Hey Pieter, Well since EJB-QL and Hibernate-QL are very Object Query Language like...it hasn't been that difficult so far. I must say I haven't done any SUPER complex queries...but I seem to be able to write at least as complex queries as I can with EJB-QL alone. Joins seem to work fine. I actually took one of our projects which was using Entity EJBs and wasn't in a model, I added the persistence tier to the model, defined all the queries in OCL and was able to deploy using Hibernate, or Entity EJBs and all queries were being translated great. In regards to straight SQL, that will probably be a little more difficult, although it seems more possible with the additions of Tuples. If I'm not mistaken, I think when Dresden did their translations to SQL with OCL 1.4 ...which didn't have the concept of Tuples (like 2.0).
Chad --- Pieter Van Gorp <[EMAIL PROTECTED]> wrote: > Hi Chad, > I looked at the Wiki and must say I'm impressed by > what you're about to > realize. I am curious though about the > expressiveness of OCL versus > EJB-QL and Hibernate-QL. I once sent you a paper > from the University of > Dresden that translated OCL to SQL. In their > experiments, they didn't > manage to write OCL that would be translated into > scalable SQL. Have > you already done some complex joins on large tables > etc? > > Hi everybody, > I'd like to announce that we're looking at the > Dresden OCL toolkit for > evaluating profile well formedness rules within the > MDR. Aparently, > there are some internal discussions about their > licensing scheme but I > hope we can start using their MDR-compliant OCL > toolkit ASAP. I'll post > our progress here. > > Kind regards, > Pieter. > > Chad Brandon wrote: > > > Hey Matthias and anyone else interested, > > > > I've put out some of my ideas on how I think my > OCL translation framework > > could be integrated into AndroMDA...and a little > bit about how it works, > > etc. Let me know if any of you have > questions/coments. Its out on the > > developer community talk of the AndroMDA Wiki: > > > http://www.andromda.org/tiki/tiki-index.php?page=Developer+community+talk > > > > Thanks, > > > > Chad > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback > Program. > > Does SourceForge.net help you be more productive? > Does it > > help you create better code? SHARE THE LOVE, and > help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Andromda-devel mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/andromda-devel > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
