Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Why was com.liferay.portal.kernel.spring.util.SpringFactoryUtil deprecated?
I am converting my 6.2 portal to 7.3. I noticed that the class com.liferay.portal.kernel.spring.util.SpringFactoryUtil has been removed as of 7.3. I think it was in 7.1-latest but I am using 7.3.6-GA7. I need a way to create a sessionFactory from a datasource, and now I cannot due to the deprecation of SpringFactoryUtil. Can I use something different? Is there any information on why this was removed?
Hello Kevin,
Did you manage to solve this problem? We're facing the same issue.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™