keep sqljdbc_auth.dll
in your windows/system32 folder and it will work.Download sqljdbc driver from this link Unzip it and you will find sqljdbc_auth.dll
.Now keep the sqljdbc_auth.dll
inside system32 folder and run your program
More Related Contents:
- Hours and seconds are lost when storing a date in the database [closed]
- Simulate Result set closing failed [closed]
- How to get the insert ID in JDBC?
- java.util.Date vs java.sql.Date
- Using setDate in PreparedStatement
- Efficient way to do batch INSERTS with JDBC
- How to execute IN() SQL queries with Spring’s JDBCTemplate effectively?
- How can I get the SQL of a PreparedStatement?
- How does a PreparedStatement avoid or prevent SQL injection?
- right syntax to use near ‘?’
- Running a .sql script using MySQL with JDBC
- java.sql.SQLException: Exhausted Resultset
- JDBC Pagination
- How to enable logging for SQL statements when using JDBC
- Getting output from dbms_output.get_lines using JDBC
- org.postgresql.util.PSQLException: FATAL: sorry, too many clients already
- handling DATETIME values 0000-00-00 00:00:00 in JDBC
- JDBC ResultSet get columns with table alias
- Java – Can’t use ResultSet after connection close
- Timezones in SQL DATE vs java.sql.Date
- Queries returning multiple result sets
- SQL prepared statement how to select via multiple possible menu selections?
- Getting an exception ORA-00942: table or view does not exist – when inserting into an existing table
- Class.forName(JDBC_DRIVER) no longer needed?
- How do I use PostgreSQL JSON(B) operators containing a question mark “?” via JDBC
- Java – Storing SQL statements in an external file [closed]
- Inserting null to an Integer column using JDBC
- MS SQL Exception: Incorrect syntax near ‘@P0’
- Database independence through JDBC in java
- Searching between dates in SQL with JDBC?