Luca,

It seems that the setVertexProperties(Long id, Map<String, Object> 
properties) method is getting stuck if the id parameter is a large long 
number or not in a sequence.
Not sure.

On Tuesday, December 9, 2014 11:02:59 AM UTC-5, Lvc@ wrote:
>
> Hi Emin,
> Please use 2.0-SNAPSHOT, not 2.0-M3:
>
>
> https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-community/2.0-SNAPSHOT/
>
> Lvc@
>
>
> On 9 December 2014 at 16:23, Emin Agassi <[email protected] 
> <javascript:>> wrote:
>
>> Hi Luca,
>> I just tried this new class and it seems that if I do not set any 
>> properties on the Vertexes, they are not getting created in the DB. In the 
>> example below, Vertex 1L is not created in the DB even though the Edge does 
>> point to it. I checked the DB after the load.
>>
>>         OGraphBatchInsert batch = new 
>> OGraphBatchInsert("plocal:D:/orientdb-community-2.0-M3/databasesTestLoad","xx","xx");
>>         batch.begin();
>>         
>>         HashMap<String, Object> edgeProps = new HashMap<String,Object>();
>>         edgeProps.put("foo", "bar");
>>         batch.createEdge(0L, 1L, edgeProps);
>>         
>>         HashMap<String, Object> vertexProps = new 
>> HashMap<String,Object>();
>>         vertexProps.put("foo", "bar");
>>         batch.setVertexProperties(0L, vertexProps);
>>         
>>         batch.end();
>>
>>
>>
>> On Tuesday, December 9, 2014 10:05:30 AM UTC-5, Lvc@ wrote:
>>>
>>> Hi Emin,
>>> Look at the Javadoc of the OGraphBatchInsert class to know more.
>>>
>>> Lvc@
>>>
>>>
>>> On 9 December 2014 at 16:01, Emin Agassi <[email protected]> wrote:
>>>
>>>> Hi Luca,
>>>>
>>>> Would you have an example code how to use the new OGraphBatchInsert 
>>>> class?
>>>>
>>>> Right now I am using only the Tinkerpop Blueprints and its fairly fast.
>>>>
>>>> Thank you
>>>> OGraphBatchInsert 
>>>>
>>>> -- 
>>>>
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "OrientDB" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to