Package com.avaje.tests.model.basic

Examples of com.avaje.tests.model.basic.ESomeType


    Locale locale = Locale.getDefault();
    Currency currency = Currency.getInstance(locale);
    TimeZone tz = TimeZone.getDefault();

    ESomeType e = new ESomeType();
    e.setLocale(locale);
    e.setTimeZone(tz);
    e.setCurrency(currency);

    Ebean.save(e);

    ESomeType e2 = Ebean.find(ESomeType.class).setAutofetch(false).setId(e.getId()).findUnique();

    Assert.assertNotNull(e2.getCurrency());
    Assert.assertNotNull(e2.getLocale());
    Assert.assertNotNull(e2.getTimeZone());
  }
View Full Code Here

TOP

Related Classes of com.avaje.tests.model.basic.ESomeType

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.