src/test/java/de/cimt/talendcomp/exasol/TestStringGenJUnit.java
@Test
	public final void createTempTable() {
		// g.addSourceColumn(name, type, length, precision, nullable, isKey, scd1a, scd1b,
		// scd2, scd3);
		g.addSourceColumn("EMPNO", "DECIMAL", 30, 0, false, true, false, false, false, false, null);
		g.addSourceColumn("FIRSTNAME", "VARCHAR", 15, 0, true, false, true, true, false, false, null);
		g.addSourceColumn("LASTNAME", "VARCHAR", 15, 0, true, false, true, true, false, false, null);
		g.addSourceColumn("Birthday", "DATE", 10, 0, true, false, true, true, false, false, null);

		// g.setEnableSCD2Versioning(false);

		g.setVersionColumn("version");
		g.setVersionEnabled(false);

		g.setCurrentFlagColumn("cur");
		g.setUseCurrentFlag(true);

		String s = g.createTableStatement("test.temp", false);
//		assertEquals(
//				"create table test.temp (\n    VALID_FROM TIMESTAMP,\n    VALID_TO TIMESTAMP,\n    cur BOOLEAN,\n    EMPNO DECIMAL(30,0) NOT NULL,\n    FIRSTNAME VARCHAR(15),\n    LASTNAME VARCHAR(15),\n    Birthday DATE,\nscd_status VARCHAR(10)\n)",
//				s);
//		System.out.println(s);

	}
/*
	 * create table (temp and target) is ok
	 */
create table (temp and target) is ok
create table ( temp and target ) is ok
@Test
	public final void createTempTable() {
		g.addSourceColumn("EMPNO", "DECIMAL", 30, 0, false, true, false, false, false, false, null);
		g.addSourceColumn("FIRSTNAME", "VARCHAR", 15, 0, true, false, true, true, false, false, null);
		g.addSourceColumn("LASTNAME", "VARCHAR", 15, 0, true, false, true, true, false, false, null);
		g.addSourceColumn("Birthday", "DATE", 10, 0, true, false, true, true, false, false, null);
		g.setVersionColumn("version");
		g.setVersionEnabled(false);
		g.setCurrentFlagColumn("cur");
		g.setUseCurrentFlag(true);
		String s = g.createTableStatement("test.temp", false);
	}
@ Test public final void createTempTable ( ) { g . addSourceColumn ( "EMPNO" , "DECIMAL" , 30 , 0 , false , true , false , false , false , false , null ) ; g . addSourceColumn ( "FIRSTNAME" , "VARCHAR" , 15 , 0 , true , false , true , true , false , false , null ) ; g . addSourceColumn ( "LASTNAME" , "VARCHAR" , 15 , 0 , true , false , true , true , false , false , null ) ; g . addSourceColumn ( "Birthday" , "DATE" , 10 , 0 , true , false , true , true , false , false , null ) ; g . setVersionColumn ( "version" ) ; g . setVersionEnabled ( false ) ; g . setCurrentFlagColumn ( "cur" ) ; g . setUseCurrentFlag ( true ) ; String s = g . createTableStatement ( "test.temp" , false ) ; }
create table (temp and target) is ok
create table ( temp and target ) is ok
// g.addSourceColumn(name, type, length, precision, nullable, isKey, scd1a, scd1b, // scd2, scd3); // g.setEnableSCD2Versioning(false); //		assertEquals( //				"create table test.temp (\n    VALID_FROM TIMESTAMP,\n    VALID_TO TIMESTAMP,\n    cur BOOLEAN,\n    EMPNO DECIMAL(30,0) NOT NULL,\n    FIRSTNAME VARCHAR(15),\n    LASTNAME VARCHAR(15),\n    Birthday DATE,\nscd_status VARCHAR(10)\n)", //				s); //		System.out.println(s);