| Package | Description |
|---|---|
| com.avaje.ebean |
Core API (see Ebean and EbeanServer).
|
| com.avaje.ebeaninternal.api | |
| com.avaje.ebeaninternal.server.core |
Core implementation objects
|
| com.avaje.ebeaninternal.server.deploy |
Bean description
|
| com.avaje.ebeaninternal.server.persist |
Persistence Implementation
|
| Modifier and Type | Method and Description |
|---|---|
static SqlUpdate |
Ebean.createNamedSqlUpdate(String namedQuery)
Create a named sql update.
|
SqlUpdate |
EbeanServer.createNamedSqlUpdate(String namedQuery)
Create a named sql update (refer
Ebean.createNamedSqlUpdate(String)
). |
static SqlUpdate |
Ebean.createSqlUpdate(String sql)
Create a sql update for executing native dml statements.
|
SqlUpdate |
EbeanServer.createSqlUpdate(String sql)
Create a sql update for executing native dml statements (refer
Ebean.createSqlUpdate(String)). |
SqlUpdate |
SqlUpdate.setAutoTableMod(boolean isAutoTableMod)
Set this to false if you don't want eBean to automatically deduce the table
modification information and process it.
|
SqlUpdate |
SqlUpdate.setLabel(String label)
Set a descriptive text that can be put into the transaction log.
|
SqlUpdate |
SqlUpdate.setNull(int position,
int jdbcType)
Set a null parameter via its index position.
|
SqlUpdate |
SqlUpdate.setNull(String name,
int jdbcType)
Set a named parameter that has a null value.
|
SqlUpdate |
SqlUpdate.setNullParameter(int position,
int jdbcType)
Set a null valued parameter using its index position.
|
SqlUpdate |
SqlUpdate.setNullParameter(String name,
int jdbcType)
Set a named parameter that has a null value.
|
SqlUpdate |
SqlUpdate.setParameter(int position,
Object value)
Set a parameter via its index position.
|
SqlUpdate |
SqlUpdate.setParameter(String name,
Object param)
Set a named parameter value.
|
SqlUpdate |
SqlUpdate.setTimeout(int secs)
Set the timeout in seconds.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Ebean.execute(SqlUpdate sqlUpdate)
Execute a Sql Update Delete or Insert statement.
|
int |
EbeanServer.execute(SqlUpdate updSql)
Execute a SQL Update Delete or Insert statement using the current
transaction.
|
int |
EbeanServer.execute(SqlUpdate updSql,
Transaction t)
Execute explicitly passing a transaction.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SpiSqlUpdate |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultSqlUpdate
A SQL Update Delete or Insert statement that can be executed.
|
| Modifier and Type | Method and Description |
|---|---|
SqlUpdate |
DefaultSqlUpdate.addParameter(Object value) |
SqlUpdate |
DefaultServer.createNamedSqlUpdate(String namedQuery) |
SqlUpdate |
DefaultServer.createSqlUpdate(String sql) |
SqlUpdate |
DefaultSqlUpdate.setAutoTableMod(boolean isAutoTableMod) |
SqlUpdate |
DefaultSqlUpdate.setLabel(String label) |
SqlUpdate |
DefaultSqlUpdate.setNull(int position,
int jdbcType) |
SqlUpdate |
DefaultSqlUpdate.setNull(String name,
int jdbcType) |
SqlUpdate |
DefaultSqlUpdate.setNullParameter(int position,
int jdbcType) |
SqlUpdate |
DefaultSqlUpdate.setNullParameter(String name,
int jdbcType) |
SqlUpdate |
DefaultSqlUpdate.setParameter(int position,
Object value) |
SqlUpdate |
DefaultSqlUpdate.setParameter(String name,
Object param) |
SqlUpdate |
DefaultSqlUpdate.setTimeout(int secs) |
| Modifier and Type | Method and Description |
|---|---|
int |
DefaultServer.execute(SqlUpdate updSql)
Execute the updateSql.
|
int |
DefaultServer.execute(SqlUpdate updSql,
Transaction t)
Execute the updateSql with an explicit transaction.
|
int |
Persister.executeSqlUpdate(SqlUpdate update,
Transaction t)
Execute the UpdateSql.
|
| Constructor and Description |
|---|
PersistRequestUpdateSql(SpiEbeanServer server,
SqlUpdate updateSql,
SpiTransaction t,
PersistExecute persistExecute)
Create.
|
| Modifier and Type | Method and Description |
|---|---|
SqlUpdate |
IntersectionRow.createDelete(EbeanServer server) |
SqlUpdate |
IntersectionRow.createDeleteChildren(EbeanServer server) |
SqlUpdate |
IntersectionRow.createInsert(EbeanServer server) |
SqlUpdate |
BeanDescriptor.deleteById(Object id,
List<Object> idList) |
SqlUpdate |
BeanPropertyAssocOne.deleteByParentId(Object parentId,
List<Object> parentIdist) |
SqlUpdate |
BeanPropertyAssocMany.deleteByParentId(Object parentId,
List<Object> parentIdist) |
| Modifier and Type | Method and Description |
|---|---|
int |
DefaultPersister.executeSqlUpdate(SqlUpdate updSql,
Transaction t)
Execute the updateSql.
|
Copyright © 2014. All Rights Reserved.