Class DdlScriptCreator

java.lang.Object
org.conical.common.bbl.jpa.DdlScriptCreator

public class DdlScriptCreator extends Object
SQL Creator for Tables according to JPA/Hibernate annotations. Use: createTablesScript() To create the table creationg script dropTablesScript() to create the table destruction script
  • Constructor Details

  • Method Details

    • createTablesScript

      public String createTablesScript()
      Create the SQL script to create all tables.
      Returns:
      A String representing the SQL script.
    • dropTablesScript

      public String dropTablesScript()
      Create the SQL script to drop all tables.
      Returns:
      A String representing the SQL script.