Java URL Connection StringDriverManager.GetConnection() requires at least one argument, a character string specifying a database connection URL. For the c-treeACE SQL JDBC Driver, the URL takes the following form: jdbc:ctree:port@host_name:db_name The URL string has the following components:
For example, the default URL in the sample application is jdbc:ctree:6597@localhost:ctreeSQL. When passed to DriverManager.GetConnection(), this URL specifies that the c-treeACE SQL JDBC Driver be used to connect to the database ctreeSQL on the server named locahost. |
|||||||||||