- jdbc/8.1.5/oci cannot connect
Hi, We are not able to access the database using JDBCdriver(oci8). We are able to connect to the databaseusing thin driver or the JDBC-ODBC bridge. Also SQLplus can connect using scott/tiger@fpdev We used the following code to access the databaseusing the thin driver. It works fine.DbConnection...
- JDBC/ MySQL : memory release after ResultSet.getString()
Hello, I've got a big memory problem :I get many ResultSet from preparedStaments. Then when I call thegetString(), most of the Strings are not collected by the garbagecollector and it corresponds to huge memory.I call al the statements.close() and rs.close() that are needed.Thanks a lot for...
- JDBC/ code Style issue
Hi all I am working on a java web application, and in one area of my code I am copying parts of one table to another. The issue is there is 20 fields that I am copying at once. I am using a preparedStatement to set each of the values individually, but it is obviously making the method quite ...
- JDBC.JAR within a jar question.
I have looked in this forum for a definitive answer to this question but have not found one. If I have overlooked it, please give me the URL so I can see how it is done.Here's the setup (JDK 131 on WinXP): 1. Create a java application (myapp.class) which accesses a database using a JDBC driver ...
- JDBC...Why CallableStatement extends Statements?
HiWe have Classes PreparedStatement and CallableStatement whichboth extends to Statement. But then why CallableStatement isextending Statement when It is already extending to PreparedStatement which in turn to Statement.Just to clarify more:Statement ^^ || PreparedStatement |<-Why this ...
- JDBC......Driver ....
Hi,I m doing this project where i create a web-page linked to a database (I will be using JSP to generate the web pages).I will be working on the project from home and i have win98 installed. So far i managed to download tomcat 3.3 and run the JSP examples, and for my database i installed MySql....