Examples of EmtryObject


Examples of org.nutz.dao.test.meta.EmtryObject

  // Issue 435
  @Test(expected = DaoException.class)
  public void test_filter_no_field_match() {
    dao.create(EmtryObject.class, true);
    final EmtryObject obj = new EmtryObject();

    // 应该抛出一个DaoException,因为没有任何的字段需要插入!
    FieldFilter.create(EmtryObject.class, "id").run(new Atom() {
      public void run() {
        dao.insert(obj);
View Full Code Here

Examples of org.nutz.dao.test.meta.EmtryObject

    // Issue 435
    @Test(expected = DaoException.class)
    public void test_filter_no_field_match() {
        dao.create(EmtryObject.class, true);
        final EmtryObject obj = new EmtryObject();

        // 应该抛出一个DaoException,因为没有任何的字段需要插入!
        FieldFilter.create(EmtryObject.class, "id").run(new Atom() {
            public void run() {
                dao.insert(obj);
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.