Package org.apache.ojb.broker

Examples of org.apache.ojb.broker.Table_2Object


        try
        {
            Transaction tx = odmg.newTransaction();
            tx.begin();
            Table_1Object table1Obj = new Table_1Object();
            Table_2Object table2Obj = new Table_2Object();
            table1Obj.setTable2Object(table2Obj);
            db.makePersistent(table2Obj);
            db.makePersistent(table1Obj);
            tx.commit();
        }
View Full Code Here

TOP

Related Classes of org.apache.ojb.broker.Table_2Object

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.