stored procedure in ObjectDB



    Does ObjectDB support "stored procedure"?

    Some frequent operations may be finished within DB, client just get a few bytes of the result.



No stored procedures in ObjectDB. JPA (or JDO) lifecycle events can be used as a replacement.

Since every change to the database starts on the client side - this doesn't add much networking overhead (no additional round trips), and JPA lifecycle events (unlike stored procedures) are portable.

ObjectDB Support


    You know, when I use link-like structure, such as linked-list, tree, graph, then a lot of round trips occurs, the traffic is not the main factor, but the latency is a problem.