public String createTablesString ( TableCreationMode mode ) { ArrayList < Type < ? > > sorted = sortTypes ( ) ; StringBuilder sb = new StringBuilder ( ) ; for ( Type < ? > type : sorted ) { String sql = tableCreateStatement ( type , mode ) ; sb . append ( sql ) ; sb . append ( ";\n" ) ; } return sb . toString ( ) ; }
Convenience method to generated the create table statements as a string .