Tabnine Logo
RecordIdIdMappingsMapper
Code IndexAdd Tabnine to your IDE (free)

How to use
RecordIdIdMappingsMapper
in
com.ning.billing.util.dao

Best Java code snippets using com.ning.billing.util.dao.RecordIdIdMappingsMapper (Showing top 2 results out of 315)

origin: com.ning.billing/killbill-util

  @Override
  public RecordIdIdMappings map(final int index, final ResultSet r, final StatementContext ctx) throws SQLException {
    final long recordId = r.getLong("record_id");
    final UUID id = getUUID(r, "id");
    return new RecordIdIdMappings(recordId, id);
  }
}
origin: com.ning.billing/killbill-util

  @Override
  public IDBI get() {
    final DBI dbi = new DBI(ds);
    dbi.registerArgumentFactory(new UUIDArgumentFactory());
    dbi.registerArgumentFactory(new DateTimeZoneArgumentFactory());
    dbi.registerArgumentFactory(new DateTimeArgumentFactory());
    dbi.registerArgumentFactory(new LocalDateArgumentFactory());
    dbi.registerArgumentFactory(new EnumArgumentFactory());
    dbi.registerMapper(new UuidMapper());
    dbi.registerMapper(new AuditLogModelDaoMapper());
    dbi.registerMapper(new RecordIdIdMappingsMapper());

    // Restart transactions in case of deadlocks
    dbi.setTransactionHandler(new SerializableTransactionRunner());
    //final SQLLog log = new Log4JLog();
    //dbi.setSQLLog(log);

    return dbi;
  }
}
com.ning.billing.util.daoRecordIdIdMappingsMapper

Most used methods

  • <init>
  • getUUID

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • startActivity (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now