com.gilt.jdbi
Wraps the results of a JDBI query in an Option.
When setting up your DBI instance, register this factory:
db.registerContainerFactory(new OptionContainerFactory)
Then you can specify an Option type as the return for you SqlQuery. Note that you must also tell JDBI the contained type using @SingleValueResult:
Wraps the results of a JDBI query in an Option.
When setting up your DBI instance, register this factory:
db.registerContainerFactory(new OptionContainerFactory)
Then you can specify an Option type as the return for you SqlQuery. Note that you must also tell JDBI the contained type using @SingleValueResult: