I need to fetch information from alfresco database :
- all folder name
- all file name
- size
Can someone give me the SQL query for that ?( if possible to get them in hierarchical order)
I am using oracle 11g
Thanks
I need to fetch information from alfresco database :
Can someone give me the SQL query for that ?( if possible to get them in hierarchical order)
I am using oracle 11g
Thanks
First of all ,Its not advisable to directly deal with database in alfresco, in that too when you want some basic information regarding node in alfresco.
There are Java API available in alfresco which you can use.All the APIs are available in below link.
http://docs.alfresco.com/5.1/concepts/dev-services.html?m=2
For your requirement you can use nodeService of alfresco.
CMIS query was proposed here.
But if you have to use SQL try this (more info):