Package org.jpox.store.rdbms.request

Examples of org.jpox.store.rdbms.request.InsertRequest


            insertTable(supertable, sm, clr);
        }

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

        // Process any secondary tables
        Collection secondaryTables = table.getSecondaryDatastoreClasses();
        if (secondaryTables != null)
        {
View Full Code Here


     * @return An insertion request object.
     */
    private InsertRequest getInsertRequest(DatastoreClass table, Class cls, ClassLoaderResolver clr)
    {
        RequestIdentifier reqID = new RequestIdentifier(table, null, RequestIdentifier.Type.INSERT, cls.getName());
        InsertRequest req = (InsertRequest) requestsByID.get(reqID);
        if (req == null)
        {
            req = new InsertRequest(table, cls, clr);
            requestsByID.put(reqID, req);
        }
        return req;
    }
View Full Code Here

TOP

Related Classes of org.jpox.store.rdbms.request.InsertRequest

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.