Got the solution for it.

Now I am connecting the Neo4J DB using the bolt driver, this allows me to 
perform all the operations without stopping the Neo4J Database.

Thanks,
Abhijit

On Wednesday, October 5, 2016 at 11:56:43 PM UTC+5:30, Abhijit Gupta wrote:
>
> Hi Michael, 
>
> Calling from Java API shows the DB is locked, to access it I need to down 
> the running Neo4J Service and fetch the data.
>
> Is there any way where I can access the DB without shutdown.
>
> My use case is that from our application we can create the data and same 
> should be pushed to Neo4J DB along with the relationship, this I can call 
> using Java API but its not possible to shutdown ther Neo4J service and 
> access data then make it up again.
>
> Please any pointer on this.
>
> Regards,
> Abhijit
>
> On Wednesday, October 5, 2016 at 12:54:43 AM UTC+5:30, Michael Hunger 
> wrote:
>>
>> You can still use cypher from java otherwise you have to do eg locking 
>> yourself 
>>
>> Von meinem iPhone gesendet
>>
>> Am 03.10.2016 um 21:36 schrieb Abhijit Gupta <[email protected]>:
>>
>> Hi Michael,
>>
>> I tried with the CQL and was able to create unique relations. From our 
>> application we want to create the Nodes and Relationships using JavaAPI so 
>> I was looking for this approach.
>>
>> Many Thanks,
>> Abhijit
>>
>> On Monday, October 3, 2016 at 4:36:39 AM UTC+5:30, Michael Hunger wrote:
>>>
>>> Why do you want to do it from java? and not using the java-driver with 
>>> cypher?
>>>
>>> On Wed, Sep 28, 2016 at 10:20 AM, Abhijit Gupta <[email protected]> 
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am new to Neo4J and able to create the Nodes and Relationship using 
>>>> CQL from the Neo4J editor.
>>>>
>>>> From Java I am able to create the Nodes but unable to create the 
>>>> Relationships. 
>>>>
>>>> Below is the CQL for Relationship which I want to create from Java, any 
>>>> pointer on how to do this using Java
>>>>
>>>> //Portfolio_Program_Project_Relation
>>>> MATCH (portfolio: portfolios),(programme: programmes),(project: 
>>>> projects)
>>>> WHERE portfolio.portfolioId = programme.portfolioId AND 
>>>> programme.programmeId = project.programmeId  
>>>> CREATE  
>>>> (portfolio)-[relation1:portfolio_program_project]->(programme),
>>>> (programme)-[relation2:portfolio_program_project]->(project);
>>>>
>>>> Cheers,
>>>> Abhijit
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Neo4j" 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 
>> "Neo4j" 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 
"Neo4j" 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