This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i have this code. but when i put it into my visual compostion, it brings up an error what says: (The type Connection is ambiguous). can someone tell what this means please. String data = "jdbc dbc:myProject"; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection conn = DriverManager.getConnection(data,"",""); PreparedStatement pstmt = conn.prepareStatement("INSERT INTO Cust VALUES (?, ?)");