public class TagFactory extends Object
| Constructor and Description |
|---|
TagFactory() |
| Modifier and Type | Method and Description |
|---|---|
static AutoGeneratedKey |
newAutoGeneratedKey(String type,
String columns,
String props,
String text)
Build a new
where tag. |
static Deletable |
newDelete(String id,
LanguageType languageType) |
static Deletable |
newDelete(String id,
LanguageType languageType,
Isolation isolation,
int timeout,
ValidateType validateType,
Statistical stats) |
static Deletable |
newDelete(String id,
LanguageType languageType,
SqlDialect sqlDialect) |
static Insertable |
newInsert(String id,
LanguageType languageType) |
static Insertable |
newInsert(String id,
LanguageType languageType,
Isolation isolation,
int timeout,
ValidateType validateType,
Statistical stats) |
static Insertable |
newInsert(String id,
LanguageType languageType,
SqlDialect sqlDialect) |
static net.sf.jkniv.sqlegance.builder.xml.OneToManyTag |
newOneToMany(String property,
String typeOf,
String impl) |
static Selectable |
newSelect(String id,
LanguageType languageType) |
static Selectable |
newSelect(String id,
LanguageType languageType,
Isolation isolation,
int timeout,
String cache,
ResultSetType resultSetType,
ResultSetConcurrency resultSetConcurrency,
ResultSetHoldability resultSetHoldability,
String returnType,
String groupBy,
ValidateType validateType,
Statistical stats)
Build a new
select tag from XML file. |
static Selectable |
newSelect(String id,
LanguageType languageType,
SqlDialect sqlDialect) |
static Updateable |
newUpdate(String id,
LanguageType languageType) |
static Updateable |
newUpdate(String id,
LanguageType languageType,
Isolation isolation,
int timeout,
ValidateType validateType,
Statistical stats) |
static Updateable |
newUpdate(String id,
LanguageType languageType,
SqlDialect sqlDialect) |
public static net.sf.jkniv.sqlegance.builder.xml.OneToManyTag newOneToMany(String property, String typeOf, String impl)
public static Selectable newSelect(String id, LanguageType languageType)
public static Selectable newSelect(String id, LanguageType languageType, SqlDialect sqlDialect)
public static Selectable newSelect(String id, LanguageType languageType, Isolation isolation, int timeout, String cache, ResultSetType resultSetType, ResultSetConcurrency resultSetConcurrency, ResultSetHoldability resultSetHoldability, String returnType, String groupBy, ValidateType validateType, Statistical stats)
select tag from XML file.id - Name/Identify from tag.languageType - type of language from tag.isolation - Retrieves the current transaction isolation level for the query.timeout - Retrieves the number of seconds the repository will wait for a Query
object to execute.cache - Indicate if must keep SQL result in cacheresultSetType - TODO javadocresultSetConcurrency - TODO javadocresultSetHoldability - holdability from ResultSetreturnType - type of object must be returnedgroupBy - columns name to group the result of query (columns name separated by comma)validateType - validation to apply before execute SQL.stats - sql statisticalpublic static Insertable newInsert(String id, LanguageType languageType)
public static Insertable newInsert(String id, LanguageType languageType, SqlDialect sqlDialect)
public static Insertable newInsert(String id, LanguageType languageType, Isolation isolation, int timeout, ValidateType validateType, Statistical stats)
public static AutoGeneratedKey newAutoGeneratedKey(String type, String columns, String props, String text)
where tag.type - generator strategycolumns - columns namesprops - properties nametext - value from tagpublic static Updateable newUpdate(String id, LanguageType languageType)
public static Updateable newUpdate(String id, LanguageType languageType, SqlDialect sqlDialect)
public static Updateable newUpdate(String id, LanguageType languageType, Isolation isolation, int timeout, ValidateType validateType, Statistical stats)
public static Deletable newDelete(String id, LanguageType languageType)
public static Deletable newDelete(String id, LanguageType languageType, SqlDialect sqlDialect)
public static Deletable newDelete(String id, LanguageType languageType, Isolation isolation, int timeout, ValidateType validateType, Statistical stats)
Copyright © 2012–2022 jkniv, copyleft code. All rights reserved.