Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jdbc]

The tag has no usage guidance.

0
votes
0answers
8 views

Java JDBC MySQL query failing immediately [migrated]

I'm working on querying a local MySQL database using a Java Spring application with JDBC. My application configures a DataSource object using the SimpleDriverDataSource() constructor. Then it makes a ...
0
votes
0answers
32 views

Could not connect to MYSQL: Connection keep increasing even when closed in code

I am using MySQL version is Ver 14.14 Distrib 5.7.23 I am having trouble with running a spark-submit which writes to SQL every 15 mins. In my code I will first close any current SQL connection before ...
0
votes
0answers
20 views

In HDP 2.6 Hive Metastore JDBC driver issue occur

Metastore Connection Driver : com.mysql.jdbc.Driver Metastore connection User: hive org.apache.hadoop.hive.metastore.HiveMetaException: Failed to load driver Underlying cause: java.lang....
0
votes
0answers
15 views

Trouble installing JDBC driver on Mac (Oracle DB / Eclipse)

I'm tring to get my Oracle DB to work with my Eclipse project using JDBC drivers. Error code: Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@//... ...
0
votes
0answers
28 views

Cannot connect to mySQL from web app in Eclipse

I'm following a course developing a simple web app in Eclipse. I'm now at the stage where the web app needs to connect to MySQL but throws a class not found: for the com MySQL connector. The project ...
0
votes
0answers
41 views

Accessing Databases hosted on Cytrix from Client PC using JDBC through cytrix receiver

Thanks for opening, I'm scoping out a project that has two databases, and a fileshare which are remote and can only be accessed via Citrix by the client machine. We are looking to have a Java ...
1
vote
3answers
107 views

Can I interrogate the Linux operating system through a SQL interface? [closed]

E.g. for crontab. I don't want to parse it. I want to run a sql query vs (as a minimum) a jdbc-compliant connection (automagically provided provided by Linux, that returns exactly that). But I mean - ...
0
votes
2answers
435 views

Strange error from Easy Tomcat 7 connecting to MySQL database

I'm fairly new to Java servlet and web app development, but this is puzzling. I have built a project in Eclipse (Mars) that consists mostly of static HTML pages with one JSP that contains a form that ...
0
votes
1answer
57 views

WEB-INF/web.xml displays mysql credentials?

I found web.xml in /WEB-INF/ on a domain I'm associated with. In said xml file, I see it displays: <database> <jndi-name>jdbc/mysql</jndi-name> <driver> <...
0
votes
1answer
5k views

How do I compare database values in JMeter

I am setting some values in database using REST request via JMeter and I want to verify the set values are committed into database. I'm able to access mysql database using JDBC driver in JMeter ...
2
votes
5answers
14k views

Sqldeveloper /as sysdba connection

I'm a total newbie in Oracle. I installed Oracle 11g XE R2. Also I installed SqlDeveloper 3.2.20.09 version. I generated auto connections, and I have 2 connections. One is: /as sysdba and another:...
1
vote
2answers
3k views

Reading an Access database from Java (Eclipse)

I'm using Windows 7 (64-bit). I installed 64-bit versions of Eclipse and JRE, but when I tried to read from Access I got problems. The only way to use ODBC seems to be by using a 32-bit variant, but ...
3
votes
1answer
11k views

How to set up the jdbc driver to connect to hsqldb from libreoffice?

I am trying to "split" a LibreOffice .odb file into a HSQL database and an OpenOffice document containing forms and macros. I am trying to follow the instructions from this thread: Within a few ...
0
votes
1answer
1k views

SQL SERVER 2000 JDBC DRIVER

I am trying to find the SQL SERVER 2000 JDBC Driver to use in extracting data from SQL SERVER and also carrying out several operation implemented in Java/JSF. Any idea where I could get my hands on ...
1
vote
1answer
4k views

What basic linux command-line utility can I use to test a JDBC connection?

I'm troubleshooting an issue with importing data to Apache Solr from a MS SQL Server database via a JDBC connection. Solr is hosted on a CentOS linux machine, and SQL Server is (of course) on a ...