Package net.sf.hajdbc

Examples of net.sf.hajdbc.IdentityColumnSupport.parseInsertTable()


      assertEquals("table", support.parseInsertTable("INSERT INTO table (column1, column2) SELECT column1, column2 FROM dummy"));
      assertEquals("table", support.parseInsertTable("INSERT INTO table SELECT column1, column2 FROM dummy"));
      assertEquals("table", support.parseInsertTable("INSERT table (column1, column2) SELECT column1, column2 FROM dummy"));
      assertEquals("table", support.parseInsertTable("INSERT table SELECT column1, column2 FROM dummy"));
      assertNull(support.parseInsertTable("SELECT * FROM table WHERE 0=1"));
      assertNull(support.parseInsertTable("UPDATE table SET column = 0"));
    }
  }

  @Test
  public void evaluateCurrentDate()
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.