i make 2 entity (userprofile , userprofileview) in service.xml in portlet , deploy portlet in application server. create these tables in database . got drop table , create view instead of table. view create other table . (create view userprofileview select * userprofile )
now when start server error can not drop view userprofileview , delete data records in table , view. can done fix problem?
to prevent this, must set value in service.properties portlet:
build.auto.upgrade=false
Comments
Post a Comment