留言板
Liferay 7 Small Doubts
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.
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.
About your first question:
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:
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.
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
Regarding nr 4)
All the annotations are very well described here :
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/osgi-and-modularity
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?
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!
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!