Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP1 (5.2.5)
-
All
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
- is related to
-
LPS-5629 DBUtil needs to be accessible from kernel
- Closed