| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | appendByteArray(byte[] bytes, Writer writer)
Overrides org. |
| protected void | appendCalendar(Calendar calendar, Writer writer)
Overrides org. |
| protected void | appendDate(Date date, Writer writer)
Overrides org. |
| protected void | appendTime(Time time, Writer writer)
Overrides org. |
| protected void | appendTimestamp(Timestamp timestamp, Writer writer)
Overrides org. |
| protected Hashtable | buildFieldTypes()
Overrides org. |
| public ValueReadQuery | buildSelectQueryForSequenceObject(String
known by TimesTen to be a defined sequence qualifiedSeqName, Integer size)Overrides org. |
| public String | getCreateViewString()
Overrides org. |
| public String | getSelectForUpdateString()
Overrides org. |
| public ValueReadQuery | getTimestampQuery()
Overrides org. Implements org. |
| protected void | initializePlatformOperators()
Overrides org. |
| public boolean | |
| protected ExpressionOperator | |
| public void | |
| public boolean | shouldPrintOuterJoinInWhereClause()
Overrides org. |
| public boolean | |
| public boolean | supportsSequenceObjects()
Overrides org. |
| public void | writeParameterMarker(Writer writer, ParameterExpression parameter, AbstractRecord record, DatabaseCall call)
Overrides org. |
| supportsForeignKeyConstraints | back to summary |
|---|---|
| private boolean supportsForeignKeyConstraints | |
| TimesTenPlatform | back to summary |
|---|---|
| public TimesTenPlatform() | |
| appendByteArray | back to summary |
|---|---|
| protected void appendByteArray(byte[] bytes, Writer writer) throws IOException Overrides org. If using native SQL then print a byte[] literally as a hex string otherwise use ODBC format as provided in DatabasePlatform.
| |
| appendCalendar | back to summary |
|---|---|
| protected void appendCalendar(Calendar calendar, Writer writer) throws IOException Overrides org. Appends an TimesTen specific Timestamp, if usesNativeSQL is true otherwise use the ODBC format. Native Format: 'YYYY-MM-DD HH:MM:SS'
| |
| appendDate | back to summary |
|---|---|
| protected void appendDate(Date date, Writer writer) throws IOException Overrides org. Appends an TimesTen specific date if usesNativeSQL is true otherwise use the ODBC format. Native FORMAT: 'YYYY-MM-DD'
| |
| appendTime | back to summary |
|---|---|
| protected void appendTime(Time time, Writer writer) throws IOException Overrides org. Appends an TimesTen specific time if usesNativeSQL is true otherwise use the ODBC format. Native FORMAT: 'HH:MM:SS'.
| |
| appendTimestamp | back to summary |
|---|---|
| protected void appendTimestamp(Timestamp timestamp, Writer writer) throws IOException Overrides org. Appends an TimesTen specific Timestamp, if usesNativeSQL is true otherwise use the ODBC format. Native Format: 'YYYY-MM-DD HH:MM:SS'
| |
| buildFieldTypes | back to summary |
|---|---|
| protected Hashtable Overrides org. Return the mapping of class types to database types for the schema framework.
| |
| buildSelectQueryForSequenceObject | back to summary |
|---|---|
| public ValueReadQuery buildSelectQueryForSequenceObject(String qualifiedSeqName, Integer size) Overrides org. INTERNAL: Produce a DataReadQuery which updates(!) the sequence number in the db and returns it. | |
| getCreateViewString | back to summary |
|---|---|
| public String getCreateViewString() Overrides org. INTERNAL: Used for view creation.
| |
| getSelectForUpdateString | back to summary |
|---|---|
| public String getSelectForUpdateString() Overrides org. INTERNAL: Used for pessimistic locking.
| |
| getTimestampQuery | back to summary |
|---|---|
| public ValueReadQuery getTimestampQuery() Overrides org. Implements org. PUBLIC: TimesTen uses the Oracle syntax for getting the current timestamp.
| |
| initializePlatformOperators | back to summary |
|---|---|
| protected void initializePlatformOperators() Overrides org. Initialize any platform-specific operators
| |
| isTimesTen | back to summary |
|---|---|
| public boolean isTimesTen() Overrides org. Implements org.
| |
| operatorOuterJoin | back to summary |
|---|---|
| protected ExpressionOperator operatorOuterJoin() TimesTen uses the Oracle where clause style outer join. | |
| setSupportsForeignKeyConstraints | back to summary |
|---|---|
| public void setSupportsForeignKeyConstraints(boolean supportsForeignKeyConstraints) | |
| shouldPrintOuterJoinInWhereClause | back to summary |
|---|---|
| public boolean shouldPrintOuterJoinInWhereClause() Overrides org. Some database require outer joins to be given in the where clause, others require it in the from clause.
| |
| supportsForeignKeyConstraints | back to summary |
|---|---|
| public boolean supportsForeignKeyConstraints() Overrides org.
| |
| supportsSequenceObjects | back to summary |
|---|---|
| public boolean supportsSequenceObjects() Overrides org. INTERNAL: Indicates whether the platform supports sequence objects.
| |
| writeParameterMarker | back to summary |
|---|---|
| public void writeParameterMarker(Writer writer, ParameterExpression parameter, AbstractRecord record, DatabaseCall call) throws IOException Overrides org. INTERNAL: TimesTen and requires cast around parameter markers if both operands of certain operators are parameter markers This method generates CAST for parameter markers whose type is correctly identified by the query compiler. This is not used by default, only if isCastRequired is set to true, by default dynamic SQL is used to avoid the issue in only the required cases.
| |