This is an example for Oracle 9
<jdbc-connection-descriptor
jcd-alias="default"
default-connection="true"
platform="Oracle"
jdbc-level="2.0"
driver="oracle.jdbc.driver.OracleDriver"
protocol="jdbc"
subprotocol="oracle"
dbalias="thin:@IP_ADDR:1521:logis9i"
username="USER"
password="PASS"
>
</jdbc-connection-descriptor>
On Wed, 2003-03-26 at 02:12, Teck-Hooi Lim wrote:
> You can take a lot at repository_database.xml. Thought it didn't specific
> configured for Orcale but I believe it is not hard to figure it out. As for
> dbalias, take is as the db connection URL.For example,
>
> Oracle DB URL = jdbc:oracle:thin:@localhost:1521:ORCL
>
> and the configuration will be like
>
> dbalias="thin:@localhost:1521:ORCL"
> protocol="jdbc"
> subprotocol="oracle"
> username="scott"
> password="tiger"
>
> I haven't setup Orcale connection before, I could be wrong.
>
> hope this helps.
>
> At 03:57 PM 3/26/2003 +0800, you wrote:
> >Thanks, but which file should I look into? There is no info for Oracle
> >dbalias in the website.
> >
> >Chang Sau Sheong
> >
> >-----Original Message-----
> >From: Teck-Hooi Lim [mailto:[EMAIL PROTECTED]
> >Sent: Wednesday, March 26, 2003 3:43 PM
> >To: OJB Users List
> >Subject: Re: dbalias for Oracle
> >
> >I believe you can refer to the sample xml descriptors that are included in
> >the distribution file. For addition help you can refer to the OJB website
> >under repository.xml. I hope you are not referring to some peculiar
> >settings for Orcale connection.
> >
> >
> >
> >At 03:27 PM 3/26/2003 +0800, you wrote:
> > >Hi,
> > >
> > >
> > >
> > >I checked the mailing list archives but it seems to be down and I urgently
> > >need to configure OJB for Oracle - can someone help? I need know what the
> > >jdbc-descriptor for Oracle looks like esp the dbalias. Thanks in advance!
> > >
> > >
> > >
> > >
> > >
> > >Chang Sau Sheong
> > >
> > >
> >
> >Teck Hooi, Lim
> >Software Developer
> >The Media Shoppe Sdn. Bhd.
> >T06 Jalan Century Square
> >Blok 2320, 63000 Cyberjaya
> >Malaysia
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
> Teck Hooi, Lim
> Software Developer
> The Media Shoppe Sdn. Bhd.
> T06 Jalan Century Square
> Blok 2320, 63000 Cyberjaya
> Malaysia
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Gerardo Arroyo <[EMAIL PROTECTED]>
Flecha Roja Technologies