Package com.avaje.tests.idkeys.db

Examples of com.avaje.tests.idkeys.db.GenKeyIdentity


        return;
      }

        Transaction tx = getServer().beginTransaction();

        GenKeyIdentity al = new GenKeyIdentity();
        al.setDescription("my description");
        getServer().save(al);

        // For JDBC batching we won't get the id until after
        // the batch has been flushed explicitly or via commit
        //assertNotNull(al.getId());

        tx.commit();
       
        assertNotNull(al.getId());

    }
View Full Code Here

TOP

Related Classes of com.avaje.tests.idkeys.db.GenKeyIdentity

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.