Package jodd.db.oom.tst

Examples of jodd.db.oom.tst.WizUser


    assertEquals("Gandalf", wizard.getName());

    // all in one class!

    dbOomQuery = sql("select $C{w.%}, $C{u.*} from $T{Wizard w} inner join $T{User u} on $w.wizardId=$u.userId").query();
    WizUser wizUser = dbOomQuery.find(WizUser.class);

    assertNotNull(wizUser);
    //assertEquals(1, wizUser.wizardId);
    assertEquals(7, wizUser.level);
    assertEquals(1, wizUser.userId);
View Full Code Here

TOP

Related Classes of jodd.db.oom.tst.WizUser

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.