I am executing this query insert into tbl (name) values(\'Î\'); When I execute this query from my application with jdbc then I get following error
I\'m trying to generate some reports to my system using Jasper reports. I\'m suing basic JDBC connection method to establish a connection to my SQL Server 2000. Here is my code snippet:
When to use开发者_JS百科 statement instead of prepared statement. i suppose statement is used in queries with no parameter but why not use prepared statement ? Which one is faster for queries with no
I want to insert alot of rows into a table that generates the keys automatically. JDBC doesn\'t guarantee that getting the generated keys will work on a batch update.
Does anyone have any id开发者_开发问答eas of how to connect Access 2010 to java jdbc. I use this method, but when I call it, it doesn\'t work:
I have a class MyClass that has a static variable. Class implements smth like singleton(it has java.sql.DataSource as static variable and has method getConnection() which checks whether DataSource var
Which jdbc dri开发者_运维百科ver should be used for connecting with oracle 8i? I am using jdk 1.6 and tomcat.The choices would be (in the decreasing order of preference):
I am trying to create a connection pool for a db2 database in glassfish and I\'m somewhat new to the entire process. I created the pool yesterday with no problems, I pinged the server successfully and
I have a big ResultSet (getting from a JDBC query) of few thousand rows. Using each of these rows, I have to instantiate an Object, setting fields of it according to the fields of this result set. Now
I have an application which has some intensive db operation at some point, along with writing blobs. Some time it takes a a开发者_开发问答 lot of time. Is there a tool which can identify if its some n