org.jooq.conf
Class SettingsTools

java.lang.Object
  extended by org.jooq.conf.SettingsTools

public final class SettingsTools
extends Object

Convenience methods for jOOQ runtime settings

Author:
Lukas Eder

Constructor Summary
SettingsTools()
           
 
Method Summary
static Settings clone(Settings settings)
          Clone some settings
static Settings defaultSettings()
          Retrieve the configured default settings If the JVM flag -Dorg.jooq.settings points to a valid settings file on the classpath, this will be loaded If the JVM flag -Dorg.jooq.settings points to a valid settings file on the file system, this will be loaded If a valid settings file is found on the classpath at /jooq-settings.xml, this will be loaded Otherwise, a new Settings object is created with its defaults
static boolean executePreparedStatements(Settings settings)
          Whether a PreparedStatement should be executed
static boolean executeStaticStatements(Settings settings)
          Whether static Statement should be executed
static RenderMapping getRenderMapping(Settings settings)
          Lazy access to RenderMapping
static StatementType getStatementType(Settings settings)
          Get the statement type from the settings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsTools

public SettingsTools()
Method Detail

getStatementType

public static final StatementType getStatementType(Settings settings)
Get the statement type from the settings


executePreparedStatements

public static final boolean executePreparedStatements(Settings settings)
Whether a PreparedStatement should be executed


executeStaticStatements

public static final boolean executeStaticStatements(Settings settings)
Whether static Statement should be executed


getRenderMapping

public static final RenderMapping getRenderMapping(Settings settings)
Lazy access to RenderMapping


defaultSettings

public static final Settings defaultSettings()
Retrieve the configured default settings


clone

public static final Settings clone(Settings settings)
Clone some settings



Copyright © 2012. All Rights Reserved.