File tree 2 files changed +8
-3
lines changed
src/main/net/sourceforge/jtds/jdbc
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 46
46
<modelVersion >4.0.0</modelVersion >
47
47
<groupId >net.sourceforge.jtds</groupId >
48
48
<artifactId >jtds</artifactId >
49
- <version >1.3.1-jama10 </version >
49
+ <version >1.3.1-jama11 </version >
50
50
<packaging >jar</packaging >
51
51
<name >jTDS</name >
52
52
Original file line number Diff line number Diff line change @@ -2862,8 +2862,13 @@ public String getClientInfo(String name) throws SQLException {
2862
2862
* @see java.sql.Connection#isValid(int)
2863
2863
*/
2864
2864
public boolean isValid (int timeout ) throws SQLException {
2865
- // TODO Auto-generated method stub
2866
- throw new AbstractMethodError ();
2865
+ try {
2866
+ checkOpen ();
2867
+ return true ;
2868
+ }
2869
+ catch (SQLException e ){
2870
+ return false ;
2871
+ }
2867
2872
}
2868
2873
2869
2874
/* (non-Javadoc)
You can’t perform that action at this time.
0 commit comments