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]> 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].
> 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