Thin « Driver « Java Database Q&A





1. Thin drivers..........???????    coderanch.com

2. Thin drivers......??????    coderanch.com

3. Dynamic IP address for thin driver    coderanch.com

Hi One solution for this problem is to use a properties file. Create one simple text file like.... ipaddress = //the address Seve it with " .properties" extension & use java.util.ResourceBundle to access this ipaddress. write these lines in your code ....like.... ResourseBundle r = ResourseBundle.getBundle("propertyfilename"); This will solve your problem...i.e whenever u want to connect to any server/machine...just change the ...

5. Kindly let me know to run this particular problem relating JDBC Thin Drivers    coderanch.com

Hi, This Example.java I'm giving from the examples given in the Oracle8i demo. /* * This sample shows how to list all the names from the EMP table * * It uses the JDBC THIN driver. See the same program in the * oci8 samples directory to see how to use the other drivers. */ // You need to import the ...

6. thin driver    coderanch.com

7. JDBC THin driver    coderanch.com

8. How to use thin drivers and classes111.zip?    coderanch.com

I'm using jdk1.2 and making connection with Oracle8 database using an applet. I resolved the issue of security by using the policytool. But now I want to know how can I use the Thin Driver to connect with the database? the code which I had written is :- import java.sql.*; try{ DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); con=DriverManager.getConnection("jdbc racle:thin:@localhost:1521:cbcpeter","scott","tiger"); st=con.createStatement(); }catch(Exception e){System.out.println(e);} and it gives ...

9. problem using thin driver    coderanch.com





10. Thin Driver for JDBC 2.0    coderanch.com

11. JDBC thin driver    coderanch.com

12. what is thin driver?    coderanch.com

There are a lot of posts regarding thin drivers in this forum. PErhaps you should take some time to search this forum for a detailed explanation. A Thin Driver is otherwise known as a Type IV driver. This is a driver written in pure java and therefore portable across all machines. The classes that communicate with the database are written in ...

13. jdbc thin driver    coderanch.com

14. Passing array input in procedure - thin driver    coderanch.com

Hey Guys, I'm trying to pass a Java Array type has a parameter in a procedure call using thin driver. I'm hitting with type cast error.If someone has done this before can you guide me through the steps. YUTHAM. [Bear edit: reduced shouting.] [ June 22, 2005: Message edited by: Bear Bibeault ]

15. About Thin Driver    coderanch.com

16. Weblogic 81 Thin Driver Issue    coderanch.com

Hello, I get the following error when using a Updatable / Sensitive Result set on Weblogib 81 SP5 and using thin driver with Oracle 9i - java.sql.SQLException: Invalid operation for read only resultset: updateString at oracle.jdbc.driver.DatabaseError.throwSqlException(Ljava/lang/String;Ljava/lang/String;I)V(DatabaseError.java:125) at oracle.jdbc.driver.DatabaseError.throwSqlException(ILjava/lang/Object;)V(DatabaseError.java:162) at oracle.jdbc.driver.BaseResultSet.updateString(ILjava/lang/String;)V(BaseResultSet.java:258) at oracle.jdbc.driver.OracleResultSet.updateString(Ljava/lang/String;Ljava/lang/String;)V(OracleResultSet.java:2898) at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_ScrollableResultSet.updateString(Ljava/lang/String;Ljava/lang/String;)V(Unknown Source) at com.biperf.fsr.dao.BusinessDAOImpl.updateCharacteristicValue(Ljava/sql/ResultSet;Ljava/lang/String;Ljava/sql/Timestamp;)V(BusinessDAOImpl.java:627) at com.biperf.fsr.dao.BusinessDAOImpl.saveProceduresPerformed(Ljava/sql/Connection;Lcom/biperf/fsr/value/BusinessInfo;)Z(BusinessDAOImpl.java:503) at com.biperf.fsr.dao.BusinessDAOImpl.saveBusinessData(Lcom/biperf/fsr/value/BusinessInfo;)V(BusinessDAOImpl.java:424) at com.biperf.fsr.action.BusinessAction.save(Lcom/biperf/fsr/value/BusinessInfo;Ljavax/servlet/http/HttpServletRequest;)V(BusinessAction.java:282) I have pasted the code below - pstmt ...





17. JDBC thin driver and RAC    forums.oracle.com

to connect with database(RAC), yesterday i face problem that DBA team did some activity and i have to connect with DB with following string jdbc:oracle:thin:@192.168.51.1:1521:abc2 after their changes i have to again change my SID. I want that is there any mechanism so that i dont have to chnage this string in my properties files. i just configure both SIDs one ...