You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by aamir ansari <aa...@mail.com> on 2003/07/07 03:54:06 UTC
connection descriptor for oracle 8i (thin driver)
Could somebody kindly tell me how to write the connection descriptor for oracle 8i db.
I have had some real problems configuring.
my proctocol is
jdbc:oracle:thin:@192.168.1.1:1521:myDB
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: connection descriptor for oracle 8i (thin driver)
Posted by Danilo Tommasina <dt...@risksys.com>.
Here is an example of a working config (OJB 1.0rc3):
<jdbc-connection-descriptor
jcd-alias="my_jcdAlias"
default-connection="true"
platform="Oracle"
jdbc-level="1.0"
useAutoCommit="2"
driver="oracle.jdbc.driver.OracleDriver"
protocol="jdbc"
subprotocol="oracle"
dbalias="thin:@IP_OR_URL:1521:SID"
username="username"
password="******"
>
<!-- include here sequence manager config if you need it -->
</jdbc-connection-descriptor>
just set your username/password and insert your IP or URL and your database SID in the dbalias (and change the port if not using standard one), do not forget the : between 'thin' and @
bye
danilo
> Could somebody kindly tell me how to write the connection descriptor for
> oracle 8i db. I have had some real problems configuring.
> my proctocol is
> jdbc:oracle:thin:@192.168.1.1:1521:myDB
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org