Hi Lvc,

sorry for this late reply, what do you suggest me to do? 
Should i use the new OrientDB Version 1.7-rc1 and create a Bean from the 
GraphFactory?

I´am just a bit confused how i should manage the two datasources. Excuse me 
for being not that expierenced. But i am eager to learn and i hope u can 
give me a push into the right direction.

regards Nhat

On Tuesday, 18 March 2014 17:17:21 UTC+1, Lvc@ wrote:
>
> Hi,
> I don't recommend using JDBC driver to work with OrientDB: it's 
> sub-optimal. JDBC driver is good mostly for reporting with existent tools.
>
> Lvc@
>
>
> On 18 March 2014 11:34, Nhat Nguyen <[email protected]<javascript:>
> > wrote:
>
>> Hello,
>>
>> I am trying to use OrientDB in combination with any other relational 
>> Database. My current Problem is to setup the second DataSource in the 
>> Spring Context. 
>>
>> The relational DataSource is declared as followed:
>>
>> <bean id="relationalDataSource" 
>>>> class="org.springframework.jdbc.datasource.SingleConnectionDataSource">
>>>
>>>       <property name="driverClassName" value="org.h2.Driver" />
>>>
>>>       <property name="url" value="jdbc:h2:mem:" />
>>>
>>>       <property name="username" value="user" />
>>>
>>>       <property name="password" value="" />
>>>
>>>       <property name="suppressClose" value="true" />
>>>
>>>    </bean>
>>>
>>>
>>  Since there is no jdbc Driver for OrientDB (which works with version 
>> 1.6.4) i am kinda stuck.
>>
>>
>>    - which <bean ... class=?>
>>    - which <property name="driverClassName" value=?> 
>>    - <property name="url" value="i would have passed the url directly to 
>>    the local:store>
>>
>>  
>>
>>  I have tried to read the project "ops4j" from Harald Wellmann. Sadly im 
>> not that experienced to know exatly what to do. I saw that he declared some 
>> Beans (see attachment) which being used via @Autowired. 
>>
>> Env:
>>
>> OrientDB 1.6.4
>>
>>
>> regards
>> Nhat
>>
>> -- 
>>
>> --- 
>> 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