Mercurial Hosting > nabble
comparison src/nabble/model/DbParamSetter.java @ 0:7ecd1a4ef557
add content
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Thu, 21 Mar 2019 19:15:52 -0600 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:7ecd1a4ef557 |
|---|---|
| 1 package nabble.model; | |
| 2 | |
| 3 import java.sql.PreparedStatement; | |
| 4 import java.sql.SQLException; | |
| 5 | |
| 6 | |
| 7 public interface DbParamSetter { | |
| 8 public void setParams(PreparedStatement stmt) throws SQLException; | |
| 9 | |
| 10 public final DbParamSetter NONE = new DbParamSetter() { | |
| 11 public void setParams(PreparedStatement stmt) {} | |
| 12 }; | |
| 13 } |
