Hi :
I’m a user of liferay for some times .
Now I have a question about the architecture of liferay and want to get some help from yours。
From http://www.liferay.com/web/guest/products/portal/architecture/spring_hibernate
I saw the following words:
All data is persisted using Hibernate and is called through the POJO implementations. Liferay used to rely on CMP technology to achieve persistence, but switched over to Hibernate because of its raw speed and flexibility. Liferay is database agnostic and can run on a variety of popular databases.
Yes, hibernate can do this well , it can support many databases and efficient 。 But now , I have a question , In my project , I used other Object Relation Mapping tools ,such as SQL2JAVA . and on the other side,
I’m not familiar with hibernate too . Then now I want to use sql2java instead of hibernate as the persistence layer in Liferay .
I have studied this for several days .And I think this can be done in theory ,and also have some clues :
(1) change the tools , especially the class : ServiceBuilder.java in package com.liferay.portal.tools.servicebuilder
(2) some thing about transaction
(3) xml configure file
I wonder this is not enough and get some more help or advice on this . I can see it a big work , also to keep the more muture version of liferay ,I have more to do .
Very thanks ......
Please sign in to flag this as inappropriate.