Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
Guenter Nobody
Extracting Liferay content via MySQL
29 de febrero de 2012 3:11
Respuesta

Guenter Nobody

Ranking: Regular Member

Mensajes: 119

Fecha de incorporación: 27 de enero de 2012

Mensajes recientes

Hi,
we'd like to extract journal articles and a few others over MySQL. The procedure it self is easy but as there are updates by cache or cluster, I am wondering how to schedule it properly. Is there something I can intercept or ask about status of the synchronization ?

Thanks,
g
Hitoshi Ozawa
RE: Extracting Liferay content via MySQL
29 de febrero de 2012 8:09
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7949

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

You should use Liferay's API or Web Service interface to extract them instead of directly from MySQL.
Guenter Nobody
RE: Extracting Liferay content via MySQL
29 de febrero de 2012 8:34
Respuesta

Guenter Nobody

Ranking: Regular Member

Mensajes: 119

Fecha de incorporación: 27 de enero de 2012

Mensajes recientes

Funny, I guessed already you will say that :-)

Unfortunately we'd prefer our existing methods of using XQuery over remote MySQL. It saves us from additional work and we can process the data directly into our format.

Does the JournalArticleLocalServiceUtil class guarantees data integrity at the time of the download ? We're not sure what happens when using multiple Liferay instances.

Thanks,
g
Hitoshi Ozawa
RE: Extracting Liferay content via MySQL
29 de febrero de 2012 15:06
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7949

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

By "multiple instances", I'm going to assume that you mean Liferay in a cluster instead of multi-tenancy.

I haven't checked the codes but from Liferay's documents, Liferay's services are suppose to support integrity when ehcache is setup properly.