Re: [orientdb] running a gremlin query in groovy using groovyc , code examples

2015-03-28 Thread W. Craig Trader
What you're missing is (1) initializing Gremlin, and (2) collecting results. To initialize Gremlin, your code needs to execute the following once (and preferably only once): import com.tinkerpop.gremlin.groovy.Gremlin Gremlin.load() Once you've done that, you can run your query. Right now

[orientdb] Re: Can't ETL CSV with null values into mandatory table

2015-03-28 Thread Jeffrey Auguste
OrientDB Server v2.0.2 To reproduce, load a csv with null values into a vector in strictmode with all parameters set to mandatory. On Friday, March 27, 2015 at 9:08:46 PM UTC-4, Jeffrey Auguste wrote: My database is in strictmode and I have set all the field properties to mandatory and

Re: [orientdb] Stable version of OrientDb for distributed environment?

2015-03-28 Thread Uffe Gavnholt
Hi Simon, thank you for your reply, 2.0.5 isn't stable in distributed mode by any means, I'll try to do what you suggest - thank you On Saturday, March 28, 2015 at 1:25:46 PM UTC+1, Simon Gemmell wrote: Uffe we had some issues with distributed mode with 2.0.5 which have apparently been

[orientdb] Best practice: How to properly set an potentially unsafe RID?

2015-03-28 Thread Georg Göttlich
Hi everyone. I just have a quick best practice question. I want to set a Link property on a class instance. I have the RID of the link target as a string. The naive approach would look like this. 'INSERT INTO MyClass SET myLink = ' + itemId (I can't use a parameter, because Oriento (wisely)

Re: [orientdb] Hooks on vertices and edges

2015-03-28 Thread David Carr
FYI I created the Java Hook Tutorial and pushed it to master branch under docs section 9.3. On Fri, Mar 27, 2015 at 11:05 AM, W. Craig Trader craig.tra...@gmail.com wrote: David ... In the short term, please share with the group. - Craig - On Fri, Mar 27, 2015 at 10:44 AM, David Carr

[orientdb] Activity Feed

2015-03-28 Thread Thomas Kennedy
Hi, Has anybody implemented an activity feed in Orient? Something like Linkedin or Twitter. I am looking for examples on how to do this? Tom -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from this group and stop receiving

Re: [orientdb] Stable version of OrientDb for distributed environment?

2015-03-28 Thread Simon Gemmell
Uffe we had some issues with distributed mode with 2.0.5 which have apparently been fixed in the latest version of the code. Given the defect density thus far I am wary but perhaps 2.0.6 will work for you when it is released. It is easy to get the code and build it yourself, use the 2.0.x

Re: [orientdb] interesting question (unanswered) on stackoverflow: does OrientDB support hypergraphs

2015-03-28 Thread Luigi Dell'Aquila
IMHO it's merely a bug, edge creation should check that both ends are vertices Luigi 2015-03-26 13:12 GMT+01:00 MrFT frederik.til...@vsko.be: http://stackoverflow.com/questions/28781749/am-i-supposed-to-be-able-to-create-edges-between-two-edges-and-or-an-edge-and-a Am I supposed to be