How to pass Table-Valued parameters from java to sql server stored procedure?

With the inputs provided by Mark Rotteveel I was able to do it. Thanks Mark, Sean thanks for your input as well. Here is the working code for any of you that may find it useful. String jdbcurl = “jdbc:sqlserver://TestServer:1433;DatabaseName=Student”; connection = DriverManager.getConnection(jdbcurl,”username”,”password”); SQLServerDataTable stuTypeDT = new SQLServerDataTable(); stuTypeDT.addColumnMetadata(“StudentId”, java.sql.Types.NUMERIC); stuTypeDT.addColumnMetadata(“Name”, java.sql.Types.VARCHAR); stuTypeDT.addColumnMetadata(“Department”, java.sql.Types.VARCHAR); stuTypeDT.addColumnMetadata(“Address”, … Read more

JDBC SQLServerException: “This driver is not configured for integrated authentication.”

When using Windows Authentication Integrated Security Download the sqljdbc_6.0.8112.100_enu.exe from Microsoft Site Install the exe (read the instructions in the zip path) copy sqljdbc_4.0/enu/auth/x64/sqljdbc_auth.dll to Java/jre7/bin and to Java/jre7/lib After this youj should be able to connect to hibernate tools to pull the database in Data Tools