O'Reilly logo

Alfresco 3 Business Solutions by Martin Bergljung

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Alfresco database

Normally, we do not have to bother about the database, but there are situations when it is necessary to be familiar with it.

In general, one should not do any CRUD operations directly against the database bypassing the foundation services when building a custom solution on top of Alfresco. This will cause the code to break in the future if the database design is ever changed. Alfresco is required to keep older APIs available for backward compatibility (if they ever change), so it is better to always use the published service APIs.

Query the database directly only when:

  • The customization built with available APIs is not providing acceptable performance and you need to come up with a solution that works satisfyingly
  • Reporting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required