0
votes
0answers
5 views

java.sql.SQLException: No Suitable Driver error in android app that interacts with postgres

i'm following a tutorial that connects an Android App to a PostgresSQL db, the tutorial is here http://appliedcoffeetechnology.tumblr.com/post/10657124340 and then i have the following code: package ...
3
votes
2answers
4k views

java.sql.SQLException: General error

Getting java.sql.SQLException java.sql.SQLException: General error at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6986) at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114) at ...
0
votes
0answers
22 views

concurrently reading large datasets from JDBC (MySQL) [duplicate]

I need to read large results of sql queries concurrently. I do not know the queries in advance or the result set size, but I expect it to be large (up usually around 10^5 or 10^6 but some may get up ...
0
votes
5answers
5k views

How to add the JDBC mysql driver to an Eclipse project?

I have downloaded the mysql-connector-java-5.1.24-bin.jar I have created a lib folder in my project and put the jar in there. properties of project->build path->add JAR and selected the JAR above. I ...
3
votes
2answers
13k views

How to configure MySQL JDBC driver mysql-connector-java-5.1.12?

I have downloaded MySQL JDBC driver from http://www.mysql.com/downloads/connector/j/. How do I configure it?
0
votes
1answer
38 views

SQL selects not being commited results in caching

I am using Tomcat and a JDBC connection pool with a mysql database. When a java.sql.Connection is created and #setAutoCommit(false) is set, and a select statement is performed without a commit, ...
1
vote
1answer
20 views

CDH4, Sqoop2 and JDBC drivers: no suitable driver found

I am trying to use Sqoop 2 to import data from a MySQL database to HDFS, basically following the instructions here. However, the Sqoop server is unable to make a connection to the MySQL database due ...
0
votes
1answer
42 views

Java JDBC issue, Row 1 doesn't contain data for all columns

I am using Java JDBC to connect to a mysql database and load data in to a table. the Load in data statement works fine when it is run from a GUI interface (I am using Navicat). But it doesnt work when ...
0
votes
1answer
36 views

Getting oracle connection and using?

I am using java1.6 and spring. I have oracle11g database. I am setting Connection object to my bean on start up. public class MyBean{ //This value will be set during applicaiton context startup ...
0
votes
2answers
45 views

difference between below dependecies?

Hi am using spring/hibernate. My database is oracle11g. To connect to oracle we need jdbc driver. i have below maven dependencies. <dependency> <groupId>oracle</groupId> ...
1
vote
4answers
4k views

Some doubts about RowMapper use in JDBC in a Spring Framework application

I am studying how to execute query on a database using JDBC in Spring Framework. I am following this tutorial: http://www.tutorialspoint.com/spring/spring_jdbc_example.htm In this tutorial I define ...
2
votes
1answer
218 views

Move ResultSet cursor back in Firebird

I am using Firebird. I have came to know that in Firebird we can't move the result set cursor back. It's only supported TYPE_FORWARD_ONLY while TYPE_SCROLL_INSENSITIVE is not supported yet. In my ...
0
votes
1answer
121 views

Unsure how to add a object collection to a JTable

i'm having a few problems in my attempts to pass a Object Collection to a JTable, The issue is i'm not sure what i can do to to basically use the Object collection in my JTable I had a look at this ...
-1
votes
0answers
31 views

Data is not updating in DB when using MERGE Comand

I am using MERGE INTO in sql for conditional updating and inserting That MERGE query is working fine In JDBC I have used PreparedStatment to generate the query. I cant see any exception in my ...
1
vote
5answers
71 views

Difference Between import and class.forName in java

Both import and class.forName loads the class file. When I do an example of importing a mysql data in jsp file, It is needed to import the driver class through class.forName .when I import the jdbc ...

15 30 50 per page