summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/misc/Binder.java
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2025-12-08 20:24:35 -0500
committerBenjamin Culkin <scorpress@gmail.com>2025-12-08 20:24:35 -0500
commita8adb94d009a65bbfc6985e833bf2d3510382a20 (patch)
treeed6ea7ca121a9f15f7e02c2c3413b6c7f4afc308 /base/src/main/java/bjc/utils/misc/Binder.java
parentd68602dc425db4cb899830ad9058572c90622430 (diff)
Checkpoint commit for NamedPreparedStatement
The checkpoint is that I attempted to patch the version of NamedPreparedStatement I had to support building external batches. This... didn't really work right; though it initially appeared to do so. I am going to rewrite NamedPreparedStatement to actually properly support this functionality instead of half-arsing it
Diffstat (limited to 'base/src/main/java/bjc/utils/misc/Binder.java')
-rw-r--r--base/src/main/java/bjc/utils/misc/Binder.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/src/main/java/bjc/utils/misc/Binder.java b/base/src/main/java/bjc/utils/misc/Binder.java
new file mode 100644
index 0000000..e657592
--- /dev/null
+++ b/base/src/main/java/bjc/utils/misc/Binder.java
@@ -0,0 +1,8 @@
+package bjc.utils.misc;
+
+import java.sql.PreparedStatement;
+import java.sql.SQLException;
+
+@FunctionalInterface interface Binder {
+ void bind(PreparedStatement ps, int index) throws SQLException;
+} \ No newline at end of file