Package com.pyranid

Class DefaultPreparedStatementBinder

java.lang.Object
com.pyranid.DefaultPreparedStatementBinder
All Implemented Interfaces:
PreparedStatementBinder

@ThreadSafe public class DefaultPreparedStatementBinder extends Object implements PreparedStatementBinder
Basic implementation of PreparedStatementBinder.
Since:
1.0.0
Author:
Mark Allen
  • Constructor Details

    • DefaultPreparedStatementBinder

      Creates a PreparedStatementBinder.
    • DefaultPreparedStatementBinder

      public DefaultPreparedStatementBinder(@Nullable DatabaseType databaseType)
      Creates a PreparedStatementBinder for the given databaseType.
      Parameters:
      databaseType - the type of database we're working with
    • DefaultPreparedStatementBinder

      public DefaultPreparedStatementBinder(@Nullable ZoneId timeZone)
      Creates a PreparedStatementBinder for the given timeZone.
      Parameters:
      timeZone - the timezone to use when working with Timestamp and similar values
    • DefaultPreparedStatementBinder

      public DefaultPreparedStatementBinder(@Nullable DatabaseType databaseType, @Nullable ZoneId timeZone)
      Creates a PreparedStatementBinder for the given databaseType.
      Parameters:
      databaseType - the type of database we're working with
      timeZone - the timezone to use when working with Timestamp and similar values
      Since:
      1.0.15
  • Method Details