Codota Logo
DBI.registerColumnMapper
Code IndexAdd Codota to your IDE (free)

How to use
registerColumnMapper
method
in
org.skife.jdbi.v2.DBI

Best Java code snippets using org.skife.jdbi.v2.DBI.registerColumnMapper (Showing top 2 results out of 315)

  • Common ways to obtain DBI
private void myMethod () {
DBI d =
  • Codota IconDataSource dataSource;new DBI(dataSource)
  • Codota IconConnectionFactory connectionFactory;new DBI(connectionFactory)
  • Codota IconString url;String username;String password;new DBI(url, username, password)
  • Smart code suggestions by Codota
}
origin: dropwizard/dropwizard

dbi.registerArgumentFactory(new OptionalIntArgumentFactory());
dbi.registerArgumentFactory(new OptionalLongArgumentFactory());
dbi.registerColumnMapper(new OptionalDoubleMapper());
dbi.registerColumnMapper(new OptionalIntMapper());
dbi.registerColumnMapper(new OptionalLongMapper());
dbi.registerContainerFactory(new ImmutableListContainerFactory());
dbi.registerContainerFactory(new ImmutableSetContainerFactory());
dbi.registerArgumentFactory(new OptionalZonedDateTimeArgumentFactory(timeZone));
dbi.registerColumnMapper(new JodaDateTimeMapper(timeZone));
dbi.registerColumnMapper(new LocalDateMapper());
dbi.registerColumnMapper(new LocalDateTimeMapper());
dbi.registerColumnMapper(new InstantMapper(timeZone));
dbi.registerColumnMapper(new OffsetDateTimeMapper(timeZone));
dbi.registerColumnMapper(new ZonedDateTimeMapper(timeZone));
origin: io.dropwizard/dropwizard-jdbi

dbi.registerArgumentFactory(new OptionalIntArgumentFactory());
dbi.registerArgumentFactory(new OptionalLongArgumentFactory());
dbi.registerColumnMapper(new OptionalDoubleMapper());
dbi.registerColumnMapper(new OptionalIntMapper());
dbi.registerColumnMapper(new OptionalLongMapper());
dbi.registerContainerFactory(new ImmutableListContainerFactory());
dbi.registerContainerFactory(new ImmutableSetContainerFactory());
dbi.registerArgumentFactory(new OptionalZonedDateTimeArgumentFactory(timeZone));
dbi.registerColumnMapper(new JodaDateTimeMapper(timeZone));
dbi.registerColumnMapper(new LocalDateMapper());
dbi.registerColumnMapper(new LocalDateTimeMapper());
dbi.registerColumnMapper(new InstantMapper(timeZone));
dbi.registerColumnMapper(new OffsetDateTimeMapper(timeZone));
dbi.registerColumnMapper(new ZonedDateTimeMapper(timeZone));
org.skife.jdbi.v2DBIregisterColumnMapper

Popular methods of DBI

  • <init>
    Constructor used to allow for obtaining a Connection in a customized manner. The org.skife.jdbi.v2.t
  • open
  • onDemand
    Create a new sql object which will obtain and release connections from this dbi instance, as it need
  • registerMapper
    Register a result set mapper which will have its parameterized type inspected to determine what it m
  • withHandle
    A convenience function which manages the lifecycle of a handle and yields it to a callback for use b
  • registerArgumentFactory
  • inTransaction
  • setSQLLog
    Specify the class used to log sql statements. Will be passed to all handles created from this instan
  • registerContainerFactory
  • setStatementLocator
    Use a non-standard StatementLocator to look up named statements for all handles created from this DB
  • setStatementRewriter
    Use a non-standard StatementRewriter to transform SQL for all Handle instances created by this DBI.
  • setTransactionHandler
    Specify the TransactionHandler instance to use. This allows overriding transaction semantics, or map
  • setStatementRewriter,
  • setTransactionHandler,
  • setTimingCollector,
  • useHandle,
  • define,
  • close,
  • getStatementLocator,
  • getTransactionHandler

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • getSharedPreferences (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Table (org.hibernate.mapping)
    A relational table
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now