Foren
Service Builder 4.4 Disable auto creation of tables
Raj Kumar Kulasekaran, geändert vor 11 Jahren.
Service Builder 4.4 Disable auto creation of tables
New Member Beiträge: 17 Beitrittsdatum: 19.04.12 Neueste Beiträge
How can we disable auto creation/up-gradation of tables in service builder 4.4
Due to this feature could not use service builder on existing tables
Tried build.auto.upgrade=false - portlet level and schema.run.enabled=false - portal level both doesn't work.
Please suggest
Thanks in advance
Due to this feature could not use service builder on existing tables
Tried build.auto.upgrade=false - portlet level and schema.run.enabled=false - portal level both doesn't work.
Please suggest
Thanks in advance
David H Nebinger, geändert vor 11 Jahren.
RE: Service Builder 4.4 Disable auto creation of tables (Antwort)
Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
The tables will only get created if they do not yet exist.
So you can easily bind SB entities to your existing tables w/o problem.
SB generated code does not automatically update the tables at all (in any release), so again there is no issue here.
So you can easily bind SB entities to your existing tables w/o problem.
SB generated code does not automatically update the tables at all (in any release), so again there is no issue here.
Raj Kumar Kulasekaran, geändert vor 11 Jahren.
RE: Service Builder 4.4 Disable auto creation of tables
New Member Beiträge: 17 Beitrittsdatum: 19.04.12 Neueste Beiträge
Thanks for the reply
How about upgrades?
Because when there was a column existing in the table, was removed from service.xml, while deploying the portlet service builder landed up in deleting that column from the table which led to adverse effects.
Please correct if I am wrong.
How about upgrades?
Because when there was a column existing in the table, was removed from service.xml, while deploying the portlet service builder landed up in deleting that column from the table which led to adverse effects.
Please correct if I am wrong.
David H Nebinger, geändert vor 11 Jahren.
RE: Service Builder 4.4 Disable auto creation of tables
Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
I think you're wrong, but you're so out of date it is difficult to know for sure...
The latest versions of Liferay's Service Builder do absolutely nothing to the underlying database as you change the service.xml definitions.
The latest versions of Liferay's Service Builder do absolutely nothing to the underlying database as you change the service.xml definitions.
Raj Kumar Kulasekaran, geändert vor 11 Jahren.
RE: Service Builder 4.4 Disable auto creation of tables
New Member Beiträge: 17 Beitrittsdatum: 19.04.12 Neueste Beiträge
Is there any way to stop auto upgrading in 4.4?
Tried with different options but no success in disabling auto upgrading.
Tried with different options but no success in disabling auto upgrading.
David H Nebinger, geändert vor 11 Jahren.
RE: Service Builder 4.4 Disable auto creation of tables
Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
Again, you're so out of date I don't know. You'll have to grab the source for liferay-portal from sourceforge and tear into it, unless there's someone else on the forum that is currently working w/ 4.4 that knows...