JDBC (2) 썸네일형 리스트형 Add Microsoft SQL JDBC driver to Maven maven에서 mssql 라이브러리를 자동으로 추가해주지 않는다.오라클이나 mysql은 바로 추가가 가능한데.. 왜 mssql은 안되는 것이얏!!!!!! 그래도 방법은 다 있다더라....ㅋㅋ 두가지 방법이 있는데 본인이 편한데로... 관련글 :1. http://claude.betancourt.us/add-microsoft-sql-jdbc-driver-to-maven/2. http://iris2380.egloos.com/26666 Getting AbstractMethodError when calling setBinaryStream Depending on your jdbc driver version the following code can fail to run.view sourceprint?1.File file = new File("image.jpg");2.InputStream in = new FileInputStream(file);3.preparedStatment.setBinaryStream(1, in, file.length());The error you will see is as follows.java.lang.AbstractMethodError: com.mysql.jdbc.ServerPreparedStatement.setBinaryStream(ILjava/io/InputStream;J)VTo fix this problem yo.. 이전 1 다음