cancel
Showing results for 
Search instead for 
Did you mean: 

Insert direct in database but problem

delphine_
Star Contributor
Star Contributor

Hello,

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

2 REPLIES 2

sdenef_
Confirmed Champ
Confirmed Champ

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.

Thanks !