+ "Column[name=film_id,columnNumber=1,type=SMALLINT,nullable=false,nativeType=SMALLINT UNSIGNED,columnSize=5], "
+ "Column[name=last_update,columnNumber=2,type=TIMESTAMP,nullable=false,nativeType=TIMESTAMP,columnSize=19]]",
Arrays.toString(filmActorJoinTable.getColumns()));
Query q = new Query();
q.from(new FromItem(actorTable).setAlias("a"));
q.select(actorTable.getColumns());
q.getSelectClause().getItem(0).setAlias("foo-bar");
assertEquals(
"SELECT a.`actor_id` AS foo-bar, a.`first_name`, a.`last_name`, a.`last_update` FROM sakila.`actor` a",
q.toString());