|
Kodo 4.1.0 generated on October 9 2006 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkodo.jdbc.sql.AdvancedSQL
public class AdvancedSQL
Handles advanced SQL functionality.
| Field Summary | |
|---|---|
protected org.apache.openjpa.jdbc.conf.JDBCConfiguration |
conf
|
protected org.apache.openjpa.jdbc.sql.DBDictionary |
dict
|
| Constructor Summary | |
|---|---|
AdvancedSQL()
|
|
| Method Summary | |
|---|---|
boolean |
canBatch(org.apache.openjpa.jdbc.schema.Column col)
Returns type if the specified column can be included in batch statements. |
void |
endConfiguration()
|
int |
getBatchLimit()
Maximum number of batched statements, or -1 for no limit. |
int |
getBatchParameterLimit()
Maximum number of combined parameters in batched statements, or -1 for no limit. |
boolean |
getSupportsTotalCountsForBatch()
Whether the driver returns a total update count for batched statements. |
boolean |
getSupportsUnion()
Union support. |
boolean |
getSupportsUnionWithUnalignedOrdering()
Support for unions with ordering on unaligned but same-aliased columns. |
boolean |
getSupportsUpdateCountsForBatch()
Whether the driver returns individual update counts for batched updates. |
void |
setBatchLimit(int batchLimit)
Maximum number of batched statements, or -1 for no limit. |
void |
setBatchParameterLimit(int batchLimit)
Maximum number of combined parameters in batched statements, or -1 for no limit. |
void |
setConfiguration(org.apache.openjpa.lib.conf.Configuration c)
|
void |
setSupportsTotalCountsForBatch(boolean supports)
Whether the driver returns a total update count for batched statements. |
void |
setSupportsUnion(boolean supports)
Union support. |
void |
setSupportsUnionWithUnalignedOrdering(boolean supports)
Support for unions with ordering on unaligned but same-aliased columns. |
void |
setSupportsUpdateCountsForBatch(boolean supports)
Whether the driver returns individual update counts for batched updates. |
void |
startConfiguration()
|
org.apache.openjpa.jdbc.sql.SQLBuffer |
toSelect(org.apache.openjpa.jdbc.sql.Union union,
boolean forUpdate,
org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration fetch)
Create a UNION. |
org.apache.openjpa.jdbc.sql.SQLBuffer |
toSelectCount(org.apache.openjpa.jdbc.sql.Union union)
Create a UNION count. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.openjpa.jdbc.conf.JDBCConfiguration conf
protected org.apache.openjpa.jdbc.sql.DBDictionary dict
| Constructor Detail |
|---|
public AdvancedSQL()
| Method Detail |
|---|
public boolean getSupportsUnion()
public void setSupportsUnion(boolean supports)
public boolean getSupportsUnionWithUnalignedOrdering()
public void setSupportsUnionWithUnalignedOrdering(boolean supports)
public int getBatchLimit()
public void setBatchLimit(int batchLimit)
public int getBatchParameterLimit()
public void setBatchParameterLimit(int batchLimit)
public boolean getSupportsUpdateCountsForBatch()
public void setSupportsUpdateCountsForBatch(boolean supports)
public boolean getSupportsTotalCountsForBatch()
public void setSupportsTotalCountsForBatch(boolean supports)
public org.apache.openjpa.jdbc.sql.SQLBuffer toSelectCount(org.apache.openjpa.jdbc.sql.Union union)
public org.apache.openjpa.jdbc.sql.SQLBuffer toSelect(org.apache.openjpa.jdbc.sql.Union union,
boolean forUpdate,
org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration fetch)
public boolean canBatch(org.apache.openjpa.jdbc.schema.Column col)
public void setConfiguration(org.apache.openjpa.lib.conf.Configuration c)
setConfiguration in interface org.apache.openjpa.lib.conf.Configurablepublic void startConfiguration()
startConfiguration in interface org.apache.openjpa.lib.conf.Configurablepublic void endConfiguration()
endConfiguration in interface org.apache.openjpa.lib.conf.Configurable
|
Kodo 4.1.0 generated on October 9 2006 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||