that depends if you use a thick oracle driver or the thin oracle driver. for the thin-driver the URL is: jdbc:oracle:thin:@<host>:<port>:<SID> example: jdbc:oracle:thin:@s_safedb1:1521:sf01 for the thick-driver: jdbc:oracle:oci8:@<tns-listener-name> see@ technet.oracle.com at the documentation for Oracle 8i and JDBC documentation.... -----Ursprüngliche Nachricht----- Von: mike thomas [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 26. Februar 2001 19:20 An: [EMAIL PROTECTED] Betreff: JDBC connecting to Oracle Hi all Does anyone out there know the syntax for connecting a JSP to an Oracle database using JDBC? What I am really after is how do I set the database name, user name and password so that JSP can set up the connection. So far I have this :- Connection con = DriverManager.getConnection("??"); Apologies if this is off the topic for this group Thanks Michael Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
