Posted on: 4/7/2011 9:28:01 AM | Views : 376

hello everyone!
i have this code for connecting to sql server 2008 from netbeans ide but i cannot connect to my db,
can someone tell me if i have a problem with my db, which schema is required for this connection?

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
 
 
package library;
 
import java.sql.Connection;
import java.sql.Statement;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
 
 
public class Displayauthers {
 
    static final String JDBC_DRIVER = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
    stati ...

Go to the complete details ...