Append a function to be invoked after the commit has taken place for the given connection identifier
Build a LoanWrapper to pass into S.
Build a LoanWrapper to pass into S.addAround() to make requests for the List of ConnectionIdentifiers transactional for the complete HTTP request
Build a LoanWrapper to pass into S.
Build a LoanWrapper to pass into S.addAround() to make requests for the DefaultConnectionIdentifier transactional for the complete HTTP request
Build a LoanWrapper to pass into S.
Build a LoanWrapper to pass into S.addAround() to make requests for the List of ConnectionIdentifiers transactional for the complete HTTP request
Build a LoanWrapper to pass into S.
Build a LoanWrapper to pass into S.addAround() to make requests for the DefaultConnectionIdentifier transactional for the complete HTTP request
The default reserved words.
The default reserved words.
TODO : Maybe this should be refactored to allow for driver-specific reserved words
Allows you to override the connection manager associated with particular connection identifiers for the duration of the call.
Executes { @code statement } and converts the { @code ResultSet } to model instance { @code T } using { @code f }
can we get a JDBC connection from JNDI?
perform this function post-commit.
perform this function post-commit. THis is helpful for sending messages to Actors after we know a transaction has committed
Executes the given parameterized query string with the given parameters.
Executes the given parameterized query string with the given parameters. Parameters are substituted in order. For Date/Time types, passing a java.util.Date will result in a Timestamp parameter. If you want a specific SQL Date/Time type, use the corresponding java.sql.Date, java.sql.Time, or java.sql.Timestamp classes.
Executes the given parameterized query string with the given parameters.
Executes the given parameterized query string with the given parameters. Parameters are substituted in order. For Date/Time types, passing a java.util.Date will result in a Timestamp parameter. If you want a specific SQL Date/Time type, use the corresponding java.sql.Date, java.sql.Time, or java.sql.Timestamp classes.
Prepares the given statement and then passes it to the given function for use.
Prepares the given statement and then passes it to the given function for use. This method represents a loan pattern, and will automatically handle creation and closing of the PreparedStatement.
If the driver supports it, generated keys for the given column names can be retrieved.
Prepares the given statement and then passes it to the given function for use.
Prepares the given statement and then passes it to the given function for use. This method represents a loan pattern, and will automatically handle creation and closing of the PreparedStatement.
If the driver supports it, generated keys for the given column indices can be retrieved.
Prepares the given statement and then passes it to the given function for use.
Prepares the given statement and then passes it to the given function for use. This method represents a loan pattern, and will automatically handle creation and closing of the PreparedStatement.
Retrieval of generated keys is controlled with the autokeys parameter, corresponding to the constants defined on java.sql.Statement: RETURN_GENERATED_KEYS or NO_GENERATED_KEYS
Prepares the given statement and then passes it to the given function for use.
Prepares the given statement and then passes it to the given function for use. This method represents a loan pattern, and will automatically handle creation and closing of the PreparedStatement.
queryCollector can be used to collect all statements executed in a single request when passed to addLogFunc
queryCollector can be used to collect all statements executed in a single request when passed to addLogFunc
Use S.queryLog to get the list of (statement, duration) entries or set an analyzer function using S.addAnalyzer
The SQL reserved words.
The SQL reserved words. These words will be changed if they are used for column or table names.
Executes the given parameterized query string with the given parameters.
Executes the given parameterized query string with the given parameters. Parameters are substituted in order. For Date/Time types, passing a java.util.Date will result in a Timestamp parameter. If you want a specific SQL Date/Time type, use the corresponding java.sql.Date, java.sql.Time, or java.sql.Timestamp classes.
Executes the given parameterized query string with the given parameters.
Executes the given parameterized query string with the given parameters. Parameters are substituted in order. For Date/Time types, passing a java.util.Date will result in a Timestamp parameter. If you want a specific SQL Date/Time type, use the corresponding java.sql.Date, java.sql.Time, or java.sql.Timestamp classes.
Executes the given parameterized update string with the given parameters.
Executes the given parameterized update string with the given parameters. Parameters are substituted in order. For Date/Time types, passing a java.util.Date will result in a Timestamp parameter. If you want a specific SQL Date/Time type, use the corresponding java.sql.Date, java.sql.Time, or java.sql.Timestamp classes.
Executes the given parameterized update string with the given parameters.
Executes the given parameterized update string with the given parameters. Parameters are substituted in order. For Date/Time types, passing a java.util.Date will result in a Timestamp parameter. If you want a specific SQL Date/Time type, use the corresponding java.sql.Date, java.sql.Time, or java.sql.Timestamp classes.
Executes function { @code f } with the connection named { @code name }.
Executes function { @code f } with the connection named { @code name }. Releases the connection before returning.
If you need to change some of the reserved word, you can supply your own set in Boot.
If you need to change some of the reserved word, you can supply your own set in Boot.scala: DB.userReservedWords = Full(Set("foo", "bar"))