Questions tagged as 'jdbc'

1
answer

SQLServerException: This driver is not configured for integrated authentication

Usage: Eclipse Oxygen SQL Server 2017 SQL Management Studio 17.3 Microsoft JDBC Driver 6.0 for SQL Server Java jre1.8.0_151 x64 Windows 10 x64 Every time I run my program I get the following error. Error:    SQLServ...
asked by 08.11.2017 / 23:13
2
answers

Java JDBC error statement [closed]

I paste the code and consult from it, since I pass the field of the database from a combo and the value, the field does not take it, the value does. What happens? public ObservableList<Categoria> buscarCategoriaPorSeleccion( String c...
asked by 22.03.2017 / 19:59
1
answer

ERROR insert JDBC data MYSQL Java

I've been trying to insert all the data I get through the scanner into the database all day yesterday and I get an error, I can not find the solution anywhere. I get this error message:    Exception in thread "main"   com.mysql.jdbc.except...
asked by 21.03.2018 / 13:07
3
answers

Error "No suitable driver found for jdbc: mysql: // localhost / dda" when connecting to MySql from Java

I would like to connect to a database that I have locally. I have the service up, and I already have the base created. as shown is localhost, root pass 1234, and I have 2 user and oid tables, I have the following Java class to use...
asked by 02.12.2017 / 22:09
2
answers

How can I verify if a certain MySQL database exists from Java?

I want to verify if my database exists before continuing with the execution of my program, but I do not know where to start, because I have looked at some examples and nothing has worked for me. This is the query that you want to throw: "SE...
asked by 16.10.2017 / 20:43
4
answers

Store a Java Date value in MySQL

I'm trying to store a java.util.Date value that contains a date and time together in a MySQL record. I've tried this: java.util.Date d = new java.util.Date(); plantilla = new SimpleDateFormat("dd/MM/yyyy H:mm"); String tiempo = planti...
asked by 22.05.2016 / 11:39
1
answer

Error connecting Netbeans with a SQL Server 2008 database

Good, I am wanting to connect Netbeans with a database but I have the following error    Can not establish a connection to jdbc: sqlserver: // CRONOPIO: 1433; databaseName = ppm using com.microsoft.sqlserver.jdbc.SQLServerDriver (The TCP / IP...
asked by 06.11.2016 / 17:51
1
answer

Failed to display data list in Java

In the following method: generateFile (String filename, String country) Generate a text file that contains the list of offices in the last country as the second parameter. The file must have the last name as the first parameter. The fiel...
asked by 09.08.2018 / 22:41
1
answer

Connection to Sql Server by JAVA - Windows Authentication

I want to connect to Sql Server using Java with Windows Authentication but I get the following error: This driver is not configured for integrated authentication. ClientConnectionId: 0b65956b-a286-4aef-a372-ab741a239761 This is the code I use...
asked by 09.02.2017 / 20:20
1
answer

Android Studio 2.3 error jdbc mysql connection

Hi, I have downloaded and installed Android Studio 2.3 and I want to make a connection to a remote mysql database. My version of java is the java version "1.7.0_121". I have pasted the file mysql-connector-java-6.0.5-bin.jar in the...
asked by 18.04.2017 / 12:02