All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.orbroker.StaticStatement.scala Maven / Gradle / Ivy

The newest version!
package org.orbroker

import org.orbroker.adapt._
import org.orbroker.callback._

private[orbroker]class StaticStatement(
  id: Symbol,
  parsedSQL: ParsedSQL,
  callback: ExecutionCallback,
  adapter: BrokerAdapter)
    extends SQLStatement(id, callback, adapter) {

  def this(id: Symbol, sql: Seq[String], trimSQL: Boolean, 
      callback: ExecutionCallback, adapter: BrokerAdapter) =
        this(id, SQLStatement.parseSQL(id, sql, trimSQL, adapter), callback, adapter)
        
  override protected def statement(parms: Map[String, Any]) = parsedSQL

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy