Java EE – Liferay 7 service builder does not automatically update the database

In my Liferay 7 project, service builder can well generate the file tables SQL (with complete SQL), but it will not be included in the servicecomponent native Liferay table as in Liferay 6.2

Therefore, when I restart the server, there is no update in the database and the data model has been modified

I have to run tables. Com manually SQL script included in SQL to temporarily solve the problem

Has anyone copied it? Are there any options (new in Liferay 7?) I don't know which can lead to this behavior

Note: of course, the option build auto. Upgrade (in service.properties) is set to true, and no service-ext.properties can override this

Solution

Yes, it's a sad thing about the new version 7 The community is waiting to be repaired

Follow and vote: https://issues.liferay.com/browse/LPS-67688

UPDATE

The new version of Liferay 7 GA5 can now perform database upgrade

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>