cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to query data with SQL directly?

alex_chew
Champ in-the-making
Champ in-the-making
Hi,

I have created many customized models in Alfresco. Now I want to generate report from these models with Pentaho report engine. Is it possible to query business data record from Alfresco by customized SQL?

Any advice will be appreciated.

Thanks and regards,
Alex
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
Definitely not recommended. The Alfresco schema is not public and can change without warning.

If you must, at least build your reports against a replica of the data to avoid potential performance problems.

Jeff

carlos_miguens
Champ on-the-rise
Champ on-the-rise
As a further suggestion once you have exported the data I'd suggest you build some views and report on those, the Alfresco model is not very obvious and if it changes it means that you will need to just change your views rather than your report queries.

Carlos