[orientdb] Java query with blueprint

2014-07-14 Thread Tiziano Fortin
Hi luca, I've this java code: String userId; IterableVertex vertexes = this.txGraph.command(new OCommandSQL(select * from Users where userId = ' + userId + ')).execute(); Vertex v = vertexes.iterator().next(); but I obtain this error on vertexes.iterator().next() :

[orientdb] Re: Java query with blueprint

2014-07-14 Thread Tiziano Fortin
developers translate java method calls to sql then. Did you try this where userId is a java.lang.String? this.txGraph.command(new OCommandSQL(select * from Users where userId = ?)).execute(userId); On Monday, 14 July 2014 11:31:32 UTC+1, Tiziano Fortin wrote: Hi luca, I've this java code

[orientdb] JPA conflict validation

2014-07-23 Thread Tiziano Fortin
Hi Luca, in my scenario I use OrientDB and MySql together. when I register a new user, I have a validation with Spring with the @valid annotation (users are stored in MySql) but since I built my application with OrientDB, validation fails with this message: lug 22, 2014 5:22:59 PM

[orientdb] Automatic daily backups

2019-08-18 Thread Tiziano Fortin
Hi guys, there is a way for performing ad automatic backup every day without stopping the server? P.s. my ubuntu does not support LVM thank you -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop