ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Yee <r...@cruzio.com>
Subject Re: Invalid Oracle-URL
Date Fri, 17 Apr 2009 12:00:38 GMT
Try jdbc:oracle:oci:@your_hostname:1521:your_sid

-Richard

Sent from my iPhone

On Apr 17, 2009, at 3:16 AM, pitaeva <anna.pitaev@logica.com> wrote:

>
> Hi all,
>
> I am connecting to the oracle database via Ibatis and getting
> the java.sql.SQLException: Invalid Oracle-URL
>
> I am using oracle client installation (for oracle 10g-10.2.0.1) / 
> oracle
> thick driver as jdbc-driver and have
>
> <property name="JDBC.ConnectionURL" value="jdbc:oracle:oci@orcl"/>
>
> If I connect the same database with the same url from java directly  
> (without
> Ibatis), it works fine.
>
>
> What am I doing wrong?  Could anybody help me ?
>
>
> Many thanks in advance!!
>
>
>
> -- 
> View this message in context: http://www.nabble.com/Invalid-Oracle-URL-tp23094900p23094900.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>

Mime
View raw message