simple JDBC Question??
843854Feb 6 2002 — edited Feb 7 2002I am new to JDBC Programing.I created a datasource XXX to connect to one of the database files.
In the JDBC URL i give String url = "jdbc:odbc:xxx" to connect to the datbase and retrieve results.
Now my question is wut if someone from remote machine wants to access this database through this data source. How would the JDBC URL would be in that case.I I want to know that format.suppose IP of my system is 12.22.26.38..so can u help me in knowing how that URL would be.Allso if i access from my own system instead of jdbc:odbc:xxx as JDBC URL can i say something like jdbc:odbc:localhost//xxx. Does this question makes any sense.If we give the IP also we should give the port number..wut is the default port number in such case. Help on this is highly appreciated.
Thanks much in advance