|
EclipseLink 1.0_1.0M2 API Reference - Incubation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.internal.databaseaccess.DatabasePlatform
org.eclipse.persistence.platform.database.DatabasePlatform
org.eclipse.persistence.platform.database.InformixPlatform
public class InformixPlatform
Purpose: Provides Informix specific behaviour.
Responsibilities:
Constructor Summary | |
---|---|
InformixPlatform()
|
Method Summary | |
---|---|
protected void |
appendCalendar(java.util.Calendar calendar,
java.io.Writer writer)
Answer a platform correct string representation of a Calendar, suitable for SQL generation. |
protected void |
appendDate(java.sql.Date date,
java.io.Writer writer)
Answer a platform correct string representation of a Date, suitable for SQL generation. |
protected void |
appendInformixCalendar(java.util.Calendar calendar,
java.io.Writer writer)
Write a timestamp in Informix specific format ( yyyy-mm-dd hh:mm:ss.fff) |
protected void |
appendInformixTimestamp(java.sql.Timestamp timestamp,
java.io.Writer writer)
Write a timestamp in Informix specific format (yyyy-mm-dd hh:mm:ss.fff). |
protected void |
appendTime(java.sql.Time time,
java.io.Writer writer)
Answer a platform correct string representation of a Time, suitable for SQL generation. |
protected void |
appendTimestamp(java.sql.Timestamp timestamp,
java.io.Writer writer)
Answer a platform correct string representation of a Timestamp, suitable for SQL generation. |
protected java.util.Hashtable |
buildFieldTypes()
|
ValueReadQuery |
buildSelectQueryForIdentity()
INTERNAL: Build the identity query for native sequencing. |
int |
getMaxFieldNameSize()
INTERNAL: returns the maximum number of characters that can be used in a field name on this platform. |
java.lang.String |
getSelectForUpdateString()
Informix seems to like this syntax instead of the OF * syntax. |
boolean |
isInformix()
|
boolean |
isInformixOuterJoin()
Some database require outer joins to be given in the where clause, others require it in the from clause. |
java.util.Hashtable |
maximumNumericValues()
Builds a table of maximum numeric values keyed on java class. |
java.util.Hashtable |
minimumNumericValues()
Builds a table of minimum numeric values keyed on java class. |
void |
printFieldIdentityClause(java.io.Writer writer)
Append the receiver's field serial constraint clause to a writer. |
boolean |
requiresProcedureCallBrackets()
USed for sp calls. |
boolean |
shouldPrintConstraintNameAfter()
Some Platforms want the constraint name after the constraint definition. |
boolean |
shouldPrintOuterJoinInWhereClause()
Some database require outer joins to be given in the where clause, others require it in the from clause. |
boolean |
supportsIdentity()
INTERNAL: Indicates whether the platform supports identity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InformixPlatform()
Method Detail |
---|
protected void appendDate(java.sql.Date date, java.io.Writer writer) throws java.io.IOException
java.io.IOException
protected void appendInformixTimestamp(java.sql.Timestamp timestamp, java.io.Writer writer) throws java.io.IOException
java.io.IOException
protected void appendCalendar(java.util.Calendar calendar, java.io.Writer writer) throws java.io.IOException
java.io.IOException
protected void appendInformixCalendar(java.util.Calendar calendar, java.io.Writer writer) throws java.io.IOException
java.io.IOException
protected void appendTime(java.sql.Time time, java.io.Writer writer) throws java.io.IOException
java.io.IOException
protected void appendTimestamp(java.sql.Timestamp timestamp, java.io.Writer writer) throws java.io.IOException
java.io.IOException
protected java.util.Hashtable buildFieldTypes()
public ValueReadQuery buildSelectQueryForIdentity()
public int getMaxFieldNameSize()
public java.lang.String getSelectForUpdateString()
public boolean isInformix()
public boolean isInformixOuterJoin()
public java.util.Hashtable maximumNumericValues()
NOTE: BigInteger & BigDecimal maximums are dependent upon their precision & Scale
public java.util.Hashtable minimumNumericValues()
NOTE: BigInteger & BigDecimal minimums are dependent upon their precision & Scale
public void printFieldIdentityClause(java.io.Writer writer) throws ValidationException
ValidationException
public boolean requiresProcedureCallBrackets()
public boolean shouldPrintConstraintNameAfter()
public boolean shouldPrintOuterJoinInWhereClause()
public boolean supportsIdentity()
|
EclipseLink 1.0_1.0M2 API Reference - Incubation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |