|
From: Juergen H. <ju...@in...> - 2005-05-28 11:05:18
|
Hi Marc, I wouldn't be opposed to add in-memory queries explictly, although there's of course always the option to implement a whole sequence of JDO operations in a JdoCallback, operating on the passed-in PersistenceManager. I can't tell how common the use of in-memory queries is... You hit a nail there :-) The JDO section in the reference docs is overdue. A TopLink section needs to be added as well. We simply haven't found the time to address those yet. You are of course very welcome to contribute! I guess we should officially start the JDO doc ASAP, with release 1.2.2 as target for a first version. Colin/Rob, what are your thoughts on this? Could we maybe start with collecting some stuff from the wiki? Juergen -----Original Message----- From: spr...@li... [mailto:spr...@li...]On Behalf Of Marc Logemann Sent: Saturday, May 28, 2005 11:50 AM To: spr...@li... Subject: [Springframework-user] JDOTemplate and in-memory queries Hi, would it make sense to add in-memory queries to JDOTemplate. So instead of doing: Collection col = // some results of former DB operation Query q2 = pm.newQuery(My.class, col, "attr == searchstr"); Collection col2 = (Collection) q2.execute(); This could be done by enhancing JDOTemplate: col = template.findInCollection(My.class, "attr == searchstr", col) The only problem i see is that you need a lot of variants of findInCollection() as seen in find(). Comments? BTW is there any reason that the JDO section is still blank in the Spring docs? Or am i the only one using JDO with Spring ;-) I would join efforts if something is underway. -- regards Marc Logemann http://www.logemann.org http://www.logentis.de ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Springframework-user mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-user |