SpringNamedSqlGenerator implements SqlGenerator { public String getColumnsSql() { return getColumnsSql(null); } SpringNamedSqlGenerator(Table table); List<Column> getColumns(); String getTableName(); List<Column> getPrimaryKeyColumns(); Table getTable(); boolean isMultiPrimaryKey(); boolean isSinglePrimaryKey(); String getInsertSql(); String getDeleteByPkSql(); String getSelectByPkSql(); String getUpdateByPkSql(); String getDeleteByMultiPkSql(); String getDeleteBySinglePkSql(); String getSelectByMultiPkSql(); String getSelectBySinglePkSql(); String getColumnsSql(); String getColumnsSql(String columnPrefix);  }
@Test public void getColumnsSql() { System.out.println(t.getColumnsSql()); assertEquals("user_id userId,user_name userName,pwd pwd", t.getColumnsSql()); }