Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-2138

DB.build*() methods now requires an extra sqlDir argument

Details

    Description

      An extra sqlDir parameter is now required for some methods that implements the DB interface. This change is needed to allow "ant build-db" to be used from the extension environment.

      API CHANGES:

      Class: com.liferay.portal.kernel.dao.db.DB

      Method: buildCreateFile(String databaseName)
      Status: Deleted
      New method: buildCreateFile(String sqlDir, String databaseName)

      Method: buildCreateFile(String databaseName, int population)
      Status: Deleted
      New method: buildCreateFile(String sqlDir, String databaseName, int population)

      Method: buildSQLFile(String fileName)
      Status: Deleted
      New method: buildSQLFile(String sqlDir, String fileName)

      Attachments

        Issue Links

          Activity

            People

              john.jiang John Wayne Jiang (Inactive)
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP4 (5.2.8)