| | |
| | | * @param pm an object to be used for database access |
| | | * @param schemaName name of database schema that contains the table |
| | | * @param tableName name of table to create DAO for |
| | | * @return java source code of DAO |
| | | * @return java source code of DTO |
| | | */ |
| | | public String generateDTO(PersistenceManager pm, String schemaName, String tableName) { |
| | | String indentation = " "; |
| | |
| | | * @param pm an object to be used for database access |
| | | * @param schemaName name of database schema that contains the table |
| | | * @param tableName name of table to create DAO for |
| | | * @return java source code of DAO |
| | | * @return java source code of DTO |
| | | */ |
| | | public String generateDAO(PersistenceManager pm, String schemaName, String tableName) { |
| | | return generateDTO(pm, schemaName, tableName); |