Brian's Waste of Time

Sat, 19 Nov 2005

Script Locator in jDBI

Just added a pluggable script locator module to jDBI. The script locator is used when you use the handle to execute scripts, so by default you can do:




Of course, you can also write your own implementation of ScriptLocator (define one method) which locates script some other way =)

I pushed two releases with this. The first is a fully backwards compatible 1.3.3 release. The second is a 1.4.0 release which exposes the methods for specifying the statement locator and handle decorator on the IDBI interface (and is a 1.X upgrade as others may have implemented the interface and this would break their implementation).

Have Fun!

1 writebacks [/src/java/jdbi] permanent link