Hi Erik,

The reason for disallowing anything but queries in the SQL statement is that when using the JDO query facility, the JDO implementation is expected to understand the effect of the query on the underlying datastore and to make sure that the user doesn't accidentally hurt herself. That is, objects deleted or updated in the datastore should be reflected in the cache visible to the object model. Take a look at delete by query for the kind of guarantees that JDO provides.

There is no such restriction on operations performed through the JDOConnection, which is where I expect your stored procedures can find a home.

Craig

On Nov 22, 2005, at 2:38 AM, [EMAIL PROTECTED] wrote:

Hi,

Is this still valid? I propose to remove this limitation because we should allow
running stored procedures.

Myself, I need to run a stored procedured. I guess this is a common use case.

Regards,

Erik Bengtson



Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Reply via email to