Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: JDBC Connection with Oracle DB


Message #1 by Sochanthoeun To <STO@L...> on Fri, 5 Jan 2001 11:25:44 -0800
hie pal,
your connection seems to be correct .
If at all there u r having problms to connect ,there might be problems in your driver.
One can connect to oracle with different types of drivers ,try using those.

bye
----------------------------------------------
On Fri, 05 January 2001, Sochanthoeun To wrote:

> 
> Hi,
> 
> I just want to know if this JDBC connection correct?
> 
> 
>     Driver myDriver = (Driver)Class.forName
> ("weblogic.jdbc.oci.Driver").newInstance();
> 
>     Properties props = new Properties();
>     props.put("user", "admin");
>     props.put("password", "adminapp");
>     props.put("server", "oak");
>       Connection conn =    myDriver.connect("jdbc:weblogic:oracle", props);
> 
> Thanks


--- 
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS?  Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development, 
Web Development, Networking & Communications, and Hardware & Systems.  
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to pro_jsp as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-pro_jsp-$subst('Recip.MemberIDChar')@p2p.wrox.com

  Return to Index