Foren

Liferay 7 Small Doubts

Thirumal Reddy, geändert vor 7 Jahren.

Liferay 7 Small Doubts

Regular Member Beiträge: 216 Beitrittsdatum: 03.12.15 Neueste Beiträge
Hi All,
1)I have seen in most of the tables about "mvccVersion" column , what it indicates and how the value will be changed and what is the use?
2) while creatin new theme, by default it is generating with styled and ftl, but i want classic with velocity,
for this i modified in json file by replacing styled with classic and ftl with vm and after i did gulp build and gulp deploy, it is generating files with vm but if i delete ftl files theme is not working.
3)while importing theme , i did all the steps and i got success message in console, this time also only ftl files reflecting my migrated theme is not erflecting.
4)clould you please explain, where to use and what are the uses of following annotations,
@Component
@ProviderType
@Service
@Reference

if you give answers it would be great help for me,
Thanks in advance..
regards,
Thirumal.
thumbnail
Jorge Díaz, geändert vor 7 Jahren.

RE: Liferay 7 Small Doubts

Liferay Master Beiträge: 753 Beitrittsdatum: 09.01.14 Neueste Beiträge
About your first question:
Thirumal Reddy:
1)I have seen in most of the tables about "mvccVersion" column , what it indicates and how the value will be changed and what is the use?
It was added in LPS-43264 and it is used to avoid issues with concurrent updates to database.

MVCC is "Multiversion concurrency control" see Wikipedia: Multiversion concurrency control

You shouldn't modify that attribute as it is internally used by Liferay for avoid problems when more than one user updates a object in same time.
Thirumal Reddy, geändert vor 7 Jahren.

RE: Liferay 7 Small Doubts

Regular Member Beiträge: 216 Beitrittsdatum: 03.12.15 Neueste Beiträge
Hi,
Thanks Jorge,
any idea about remaining.?

regards,
Thirumal.
thumbnail
Armaz Mellati, geändert vor 7 Jahren.

RE: Liferay 7 Small Doubts

Junior Member Beiträge: 96 Beitrittsdatum: 30.10.09 Neueste Beiträge
Hi

Regarding nr 4)
All the annotations are very well described here :
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/osgi-and-modularity
Tim Coulter, geändert vor 7 Jahren.

RE: Liferay 7 Small Doubts

New Member Beitrag: 1 Beitrittsdatum: 07.06.16 Neueste Beiträge
In regards to the annotations in Liferay 7 - I am getting a warning after building a module with Gradle that "bnd versioning annotations are deprecated as of Bnd 3.2 and support will be removed in Bnd 4.0. Please change to OSGi versioning annotations." How would one go about migrating to OSGi annotations when the annotations were created with Service Builder?
thumbnail
David H Nebinger, geändert vor 7 Jahren.

RE: Liferay 7 Small Doubts

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
Don't worry about it. Liferay has a habit of selecting a version for a release and sticking with it.

First there's no info re: when bnd 4 will be released, but second even if it were out today Liferay has a lot of code dependent upon this support so it is unlikely they would change w/o having to modify all of it first. That change would likely be a new release anyway because so much would be touched by it.





Come meet me at the NAS!