Insert direct in database but problem


I need to insert row directly in database (to add a metadata in a document).

My query is ok but I can't see the result in Nuxeo. It seems that the changes are not considered (no commit ?) Is there something special to do after an insert ?

Thanks in advance

1 votes

1 answers



Could it be a cache issue ?

You can test to create a document, update a row (to change a metadata created by the app), and check if you can see the change in the UI.

I'm not sure how (or when) the cache is invalidated. But you can try to logout/login, or restart your Nuxeo instance.

If it works, try with an insert.

0 votes

Thanks !

After tests, the cache is invalided when I restart Nuxeo.