NXQL query with backslash
I am trying to execute this query with CoreSession:
CoreSession.query( “select * from Document where dc:title = 'document\' and ecm:currentLifeCycleState <> 'deleted'” )
The \ is making the query crash. If I put the \ in any other position than at the end it works. I also have tried to escape the title value with NXQLQueryBuilder.prepareStringLiteral() with it doesn't do anything. Any idea about how to execute this query or could be a Nuxeo bug?