About 50 results
Open links in new tab
  1. How to connect Java to Microsoft SQL server - Stack Overflow

    May 15, 2014 · I made a Java application to connect to a MySQL database. The connection was made in this way: public class Connection { public static Connection getConexao() throws …

  2. java - How do I connect to a SQL Server 2008 database using JDBC ...

    Mar 16, 2010 · I have MSSQL 2008 installed on my local PC, and my Java application needs to connect to a MSSQL database. I am a new to MSSQL and I would like get some help on …

  3. java - JDBC connection to MSSQL server in windows …

    May 11, 2013 · java.sql.DatabaseMetaData metaData = connection.getMetaData(); System.out.println("Driver version:" + metaData.getDriverVersion()); Add the VM argument for …

  4. java - Which jar to use for connecting to MS SQL server - Stack …

    Jul 13, 2018 · The Microsoft SQL Server JDBC Driver version 2.0 provides sqljdbc.jar and sqljdbc4.jar class library files to be used depending on your preferred Java Runtime …

  5. How do you configure a DataSource in Java to connect to MS SQL …

    I'm trying to follow Java's JDBC tutorials to write a Java program that can connect to SQL Server 2008. I'm getting lost at the point of making a connection. The following snippet is from the tut...

  6. java - Connect JDBC with SQL Server - Stack Overflow

    Aug 28, 2013 · Please take a look here for a short step-by-step guide showing how to connect to SQL Server from Java using jTDS and JDBC using eclipse should you need more details.

  7. java - Connect to microsoft sql server from spring jpa - Stack …

    Mar 3, 2022 · I am using microsoft sql server, If i open intellij, open new database connection in database tool window => and in advanced type i add: The connection works. However now …

  8. java - MS SQL JDBC Connection String for SQL Authentication

    Jan 11, 2024 · 0 When attempting to connect to a MS SQL Database using the MS SQL JDBC driver with SQL Authentication, I keep running into issues referencing SSL encryption. We …

  9. java - Cannot connect to SQL Server server with MS JDBC Driver …

    Jun 26, 2020 · In any case, I just need some guidance on how to configure the MS driver to connect from Linux to a non-secured SQL Server 2012. The Microsoft references I found …

  10. SSL Connection to mssql from a Java Program - Stack Overflow

    Jun 25, 2015 · How can I achieve SSL connection to mssql server through a java program for testing purpose using self-signed certificate? Currently I have tried connection using …