Questions tagged as 'jdbc'

1
answer

psqlexception syntax error near "="

I am creating a method to obtain the records of clients that have a certain userid , the client table contains the columns: clientid, name, userid strong> likewise the Client class contains the 3 parameters clientid, name, userid . But...
asked by 11.11.2018 / 16:42
0
answers

java.sql.SQLException: Column count does not match value count

I have a problem with my program for an assignment in the university, It is a hotel system that makes reservations, but it throws me an error,    java.sql.SQLException: Column count does not match value count at row 1 at com.mysql.jdbc.SQLErr...
asked by 10.11.2018 / 00:39
0
answers

Error connection to Java database, Driver jdbc MySql

The error is that when executing the program the driver is not recognized, launching the error: java.sql.SQLException: No suitable driver found for jdbc:mysql//localhost:3306/comercializadora public class conexion { private static C...
asked by 26.11.2018 / 00:49
0
answers

I can not insert records in function postgresql with jdbc

Good morning friends, I have a problem when I want to insert records from a call to a postgresql function that receives 2 parameters and I want to do it from Java Server Faces and JDBC this is my java code: DAO: @Override public boolea...
asked by 29.10.2018 / 18:08
0
answers

How to execute a stored procedure with jdbc, dao in java, primefaces and jsf

I have a problem when setting the data of a stored procedure to a datatable, what happens is that I am working with jsf, primefaces, jdbc, create a java class that would be this: package avo.ob.movie; import java.sql.Connection; import java.s...
asked by 22.10.2018 / 22:39
0
answers

Sql Cloud in Android Studio 3.0

I would like you to help me with a concern, I recently managed the creation of a Mysql database in Sql Cloud of Google, the truth is that I could create the base without any mishap, I can even access it from WorkBench previously giving the autho...
asked by 24.09.2018 / 23:25
1
answer

java.sql.SQLException: No suitable driver found for jdbc: mysql // localhost: 3306 / rch Spring MVC [duplicate]

Hello, I hope and someone can help me. I have a mysql connection problem with spring mvc and weblogic. The exception thrown at me is the following.         Caused by: java.sql.SQLException: Not suitable driver found for jdbc: mysql // lo...
asked by 05.08.2018 / 01:48
0
answers

Java multithreading using JDBC

I am trying to make an application with threads consult a database with millions of records and basically these threads divide the database to make the query faster. The error that I am having is that in my code only one thread is executed, only...
asked by 20.07.2018 / 21:50
0
answers

Convert java.util.Date to java.sql.Date

I need to do the conversion java.util.Date to java.sql.Date . I have tried the following: private long convertirDate(java.util.Date f1) { java.sql.Date fechaSalida = new java.sql.Date(f1.getTimeInMillis()); } The problem is...
asked by 15.07.2018 / 19:52
0
answers

Problem connecting to mysql in eclipse

When I try to connect to the BD this appears to me, and before it did not appear, according to what I understand change the driver or change the way in which the method is written, but I still can not fully understand what is wrong . This is...
asked by 13.06.2018 / 07:51