Package org.apache.torque.test.dbobject

Examples of org.apache.torque.test.dbobject.CurrentDateTable.save()


        }
        CurrentDateTablePeer.doDelete(new Criteria());
        CurrentDateTable currentDate = new CurrentDateTable();

        Date currentDateBefore = doSelect("CURRENT_DATE", java.sql.Date.class);
        currentDate.save();
        Date currentDateAfter = doSelect("CURRENT_DATE", java.sql.Date.class);

        List<CurrentDateTable> dbStateList
                = CurrentDateTablePeer.doSelect(new Criteria());
        assertEquals(1, dbStateList.size());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.