Package org.jpox.store.rdbms.request

Examples of org.jpox.store.rdbms.request.DeleteRequest$DeleteMappingConsumer


            }
        }

        // Do the actual delete of this table
        // TODO Assert if this table is not yet initialised ?
        DeleteRequest req = getDeleteRequest(table, sm.getObject().getClass(), clr);
        req.execute(sm);

        DatastoreClass supertable = table.getSuperDatastoreClass();
        if (supertable != null)
        {
            // Process the superclass table last
View Full Code Here


     * @return A deletion request object.
     */
    private DeleteRequest getDeleteRequest(DatastoreClass table, Class cls, ClassLoaderResolver clr)
    {
        RequestIdentifier reqID = new RequestIdentifier(table, null, RequestIdentifier.Type.DELETE, cls.getName());
        DeleteRequest req = (DeleteRequest) requestsByID.get(reqID);
        if (req == null)
        {
            req = new DeleteRequest(table, cls, clr);
            requestsByID.put(reqID, req);
        }
        return req;
    }
View Full Code Here

TOP

Related Classes of org.jpox.store.rdbms.request.DeleteRequest$DeleteMappingConsumer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.