Index

B D F G I L N P R S T 
All Classes and Interfaces|All Packages|Serialized Form

B

build(String, Map<String, String>) - Static method in class io.ebean.ddlrunner.ScriptTransform
Build and return a ScriptTransform that replaces placeholder values in DDL scripts.

D

DdlDetect - Interface in io.ebean.ddlrunner
Detect non-transactional SQL statements that must run after normal sql statements with connection set to auto commit true.
DdlParser - Class in io.ebean.ddlrunner
Parses string content into separate SQL/DDL statements.
DdlParser(DdlDetect) - Constructor for class io.ebean.ddlrunner.DdlParser
 
DdlRunner - Class in io.ebean.ddlrunner
Runs DDL scripts.
DdlRunner(boolean, String) - Constructor for class io.ebean.ddlrunner.DdlRunner
Construct with a script name (for logging) and flag indicating if auto commit is used (in which case errors are allowed).
DdlRunner(boolean, String, DdlDetect) - Constructor for class io.ebean.ddlrunner.DdlRunner
Create specifying the auto commit behaviour (for the database platform).
DdlRunner(boolean, String, String) - Constructor for class io.ebean.ddlrunner.DdlRunner
Create specifying the database platform by name.
DdlRunnerException - Exception in io.ebean.ddlrunner
 
DdlRunnerException(Throwable) - Constructor for exception io.ebean.ddlrunner.DdlRunnerException
 

F

forPlatform(String) - Static method in interface io.ebean.ddlrunner.DdlDetect
Return the implementation for the given platform.

G

getNonTransactional() - Method in class io.ebean.ddlrunner.DdlParser
Return the non-transactional statements which run later with auto commit true.

I

io.ebean.ddl.runner - module io.ebean.ddl.runner
 
io.ebean.ddlrunner - package io.ebean.ddlrunner
 

L

logger - Static variable in class io.ebean.ddlrunner.DdlRunner
 

N

NONE - Static variable in interface io.ebean.ddlrunner.DdlDetect
 

P

parse(Reader) - Method in class io.ebean.ddlrunner.DdlParser
Break up the sql in reader into a list of statements using the semi-colon and $$ delimiters;
POSTGRES - Static variable in interface io.ebean.ddlrunner.DdlDetect
 

R

replace(String, String, String) - Static method in class io.ebean.ddlrunner.ScriptTransform
Transform just ${table} with the table name.
runAll(String, Connection) - Method in class io.ebean.ddlrunner.DdlRunner
Parse the content into sql statements and execute them in a transaction.
runNonTransactional(Connection) - Method in class io.ebean.ddlrunner.DdlRunner
Run any non-transactional statements from the just parsed script.
runNonTransactional(Connection, List<String>) - Method in class io.ebean.ddlrunner.DdlRunner
Run the non-transactional statements with auto commit true.

S

ScriptTransform - Class in io.ebean.ddlrunner
Transforms a SQL script given a map of key/value substitutions.

T

transactional(String) - Method in interface io.ebean.ddlrunner.DdlDetect
Return false if the SQL is non transactional and should run with auto commit.
transform(String) - Method in class io.ebean.ddlrunner.ScriptTransform
Transform the script replacing placeholders in the form ${key} with value.
B D F G I L N P R S T 
All Classes and Interfaces|All Packages|Serialized Form