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

DBUtil has been moved to portal-kernel.jar

Details

    Description

      DBUtil has been moved from portal-impl.jar to portal-kernel.jar so that plugins can have access to this class. DBUtil has also renamed to DBFactoryUtil.

      API CHANGES:

      Class: com.liferay.portal.kernel.util.Database
      Status: Deprecated
      New class: com.liferay.portal.kernel.dao.db.DB

      Class: com.liferay.portal.kernel.util.DatabaseUtil
      Status: Deprecated
      New class: com.liferay.portal.kernel.dao.db.DBFactoryUtil

      Class: com.liferay.portal.tools.sql.DB
      Status: Deprecated
      New class: com.liferay.portal.kernel.dao.db.DB

      Class: com.liferay.portal.util.Portal

      Method: getDB()
      Status: Deleted
      New method: com.liferay.portal.kernel.dao.db.DBFactoryUtil.getDB()

      Method: runSQL(String sql)
      Status: Deleted
      New method: com.liferay.portal.kernel.dao.db.DBFactoryUtil.getDB().runSQL(sql)

      Class: com.liferay.portal.util.PortalUtil

      Method: getDB()
      Status: Deprecated
      New method: com.liferay.portal.kernel.dao.db.DBFactoryUtil.getDB()

      Method: runSQL(String sql)
      Status: Deprecated
      New method: com.liferay.portal.kernel.dao.db.DBFactoryUtil.getDB().runSQL(sql)

      Attachments

        Issue Links

          Activity

            People

              michael.saechang Michael Saechang
              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 SP2 (5.2.6)