Hey.. Thanks man.. I thought that something like that should work. I mean this is kind 
of what I have done in the past with other products. I just was not sure how to handle 
the "//" and "/" characters which would be inserted into the jdbc Url.. Just for 
completeness I am posting that section of the repository.xml file...

   <jdbc-connection-descriptor
                platform="PostgreSQL"
                jdbc-level="1.0"
                driver="org.postgresql.Driver"
                protocol="jdbc"
                subprotocol="postgresql"
                dbalias="//dargo:5432/test"
                username="user1"
                password="mucaLives"  <--- after my friend George.Triantafillou
                                                     DIGITAL EQUIPMENT CORPORATION
   />

It was a little confusing since the repository and profile files use totally different 
attribute names.. Might have been easier if they both used the same names. But not a 
big deal...

Thanks for taking the time.. 

Ray lukas





-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Monday, November 18, 2002 3:59 AM
To: [EMAIL PROTECTED]
Subject: RE: How do I point to a remote database...

Hello,

You specify the node:port in the dbalias property.
Here an example for a MS SQL server database but the alias depends which database 
product you have (refer to the doc):

dbalias="//servername:port;DatabaseName=mydatabase;SelectMethod=cursor;User=myuser;Password=mypassword"

Sylvain

-----Message d'origine-----
De: Raymond Lukas [mailto:[EMAIL PROTECTED]]
Date: vendredi, 15. novembre 2002 23:10
�: [EMAIL PROTECTED]
Objet: How do I point to a remote database...


Please guys: This is a simple question...

 

 

Inside the repository.xml file.....

 

   <jdbc-connection-descriptor

            platform=postgresql

            jdbc-level=1.0

            driver=org.postgresql.Driver

            protocol=jdbc

            subprotocol=postgresql

            dbalias=test

            username=user1

            password=mucaLives

   />

 

what is the property name for specifying the node:port string in the
JDBC URL.. I can not find this in the docs anywhere. I was kind of
thinking that it was the same as in the profile files but the property
names are different. 

 

By the way I think that several links in on the web page for the
tutorials are broken.. Surely someone out there is doing this... 

 

 

 

 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to