Most voted "jdbc" questions
Java Database Connectivity or JDBC is a set of classes and interfaces (API) written in Java that send SQL statements to any relational database.
Learn more…213 questions
Sort by count of
-
-1
votes2
answers321
viewsError installing jdbc oracle in eclipse
I am finding impediments in the installation of oracle jdbc. Canvas Error message: Error Reading file C: Users alex.jose.silva.m2 Repository with oracle ojdbc14 10.2.0.3.0 ojdbc14-10.2.0.3.0.jar C:…
-
-1
votes1
answer51
viewsSqlite with java, error
I have made a database of Bank Bank Accounts, each of these accounts has its own id to identify, and has his tipo, to know what type of account the user is accessing at that time, type, he can have…
-
-1
votes1
answer53
viewsProblem with a one-way structure
Well I made a method to change password where it does a select in the database to see if the login and password entered are equal in the database String sql = "SELECT id_usuario,nome,senha FROM…
-
-1
votes1
answer42
viewsDoubts with JDBC
I am using the JDBC driver to connect my program to the database and when I use the getString method it makes me a string that I can print on screen but when comparing this string that it returns to…
-
-2
votes1
answer563
viewsJDBC Callablestatement: Application hangs when calling Procedure
When I run a Procedure by the application it hangs, but in the bank performs normal. This is the way I use to call Procedure: public int incluir(TOCompra compra) { try { PreparedStatement ps =…
-
-2
votes1
answer106
viewsJava array problem to read from database
I have a Java function where I weigh a phone number and it returns me which trunk the call will exit according to the regular expression that is saved in database in a column called…
-
-2
votes1
answer394
viewsJDBC Mysql Related Eclipse Error
I am trying to connect the mysql database from my JAVA application. But I get this message: org.apache.Jasper.Jasperexception: An Exception occurred Processing JSP page /index.jsp at line 31 28:…
-
-2
votes1
answer681
viewsHow to get an item from a List< [ ] String>?
How can I pick up an item from a List< [] String>? // Monta a String partsList.add(new String [] {StringUtils.trim(String.valueOf(peças.getCodigoProduto())),…
-
-2
votes1
answer232
viewsError while trying to connect Mysql database to eclipse using JDBC
I’ve tried some solutions, I’ve reinstalled Mysql and Workbench, but it doesn’t seem to accept my password. It just keeps giving the same error. Note: I did not change the user name in the database,…
-
-3
votes2
answers829
viewsHttpclient releasing org.hibernate.Exception.Genericjdbcexception exception exception?
Is there any reason for the following code to release this exception? I have one webservice who consults at my bank and turns everything into xml and then make a send to another webservice takes the…
-
-3
votes2
answers2058
viewsError connecting JDBC to local sql Server
I try to connect java with Sql Server from my local machine but I get this error com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1434 has failed.…
-
-3
votes1
answer105
viewsNo suitable driver found Mariadb
I am trying to insert a tuple of data into a DB using JDBC through a web page. I took a class ConnectionFactory to encapsulate the connection with Mariadb, I imported the driver to the classpath,…
-
-3
votes0
answers21
viewsTimezonedump class prioritized in the runlist . Is it an ECLIPSE IDE bug?
When executing the class testaListagem in the ellipse Version: 2021-06 (4.20.0). Although there are no syntax or logic errors and follow the correct procedures, drivers etc. The following error was…