Questions tagged as 'jdbc'

2
answers

Connection refused error when connecting to PostgreSQL

The error happens after entering login and password:    "Deuorg.postgresql.util.PSQLException: Connection refused. Check that   the hostname and port are correct and that the postmaster is accepting   TCP / IP connections. " I'm making the...
asked by 06.06.2014 / 14:13
1
answer

Connect external bank to the UI Designer in Bonitasoft Community

I am using the Bonitasoft tool to develop a BPM project, I have a PostgreSQL database that through a JDBC insert and change records by Bonitasoft , but I can not select the data from the database and display it in my UI Designer ,...
asked by 23.01.2017 / 17:26
0
answers

How to make pincode activator via serial?

I'm trying to make pincode validator (serial), but I do not know how to do it. I have two tables: "validation" and "expiration". In the "validation" table, it has the following fields: id(int), data(varchar), pincode(varchar), status(int...
asked by 17.11.2016 / 03:27
0
answers

Intercept SQL's in a custom JDBC

Is it possible to create a custom implementation based on JDBC to intercept all sql's executed in the application? I did not find anything very concrete about this in Google, I did a simple test just inheriting the interface of the driver I...
asked by 01.04.2016 / 02:45
0
answers

Problem with Firebird 3.0 connection with Java 1.8

I'm having problems trying to connect to Firebird 3.0 using Jaybird 2.2.7, while running the Firebird 2.5 test I can connect to the database, but when I try to log in to Firebird 3.0, I enter the exception. Following the images in the excepti...
asked by 13.05.2015 / 15:37
2
answers

"No value specified for parameter 1" when executing PreparedStatement

I am testing insert here and the following error appears to me:   Exception in thread "main" java.sql.SQLException: No value specified for parameter 1 Dao package modelo; import java.sql.Connection; import java.sql.Prepa...
asked by 07.07.2015 / 00:08
1
answer

Error in the user registry, changing the user instead insert

My problem is the following, I saw that when I edit a registry, it works, the registry changes, but when I want to register a new user, it falls into the edit condition, it edits the registry information that I was changing previously , not allo...
asked by 09.11.2016 / 13:36
3
answers

Modify array elements

I need to create a query with the insertion of several lines. Change an array / list:    arrayOriginal = [10,20,30,40]     valueChave = 999 The return must be:    arrayNew = [(valueChave, 10), (valueChave, 20), (valueChave, 30)...
asked by 22.06.2016 / 23:21
1
answer

Send data to database

I'm studying for a Java test on database and I'm pretty confused, I was doing a program based on another, I made a sign-up screen and it works perfect, the only thing missing is send and I do not know how do this look the example and can not fin...
asked by 21.11.2015 / 17:09
3
answers

JDBC Connection with MySQL

I'm learning to develop java and I'm trying to get ahead in my studies to understand how to make a connection to the database, but there's a problem I can not identify. Below the error written in the log:    com.mysql.jdbc.exceptions.jdbc4...
asked by 28.01.2016 / 12:24