Purpose: Provides DBase specific behavior.
Responsibilities:
| Access | Constructor and Description |
|---|---|
| public |
| DBasePlatform | back to summary |
|---|---|
| public DBasePlatform() Default constructor. | |
| buildFieldTypes | back to summary |
|---|---|
| protected Hashtable Overrides org. Doc from org. Return the mapping of class types to database types for the schema framework.
| |
| convertToDatabaseType | back to summary |
|---|---|
| public Object convertToDatabaseType(Object value) Overrides org. INTERNAL We support more primitive than JDBC does so we must do conversion before printing or binding.
| |
| getMaxFieldNameSize | back to summary |
|---|---|
| public int getMaxFieldNameSize() Overrides org. INTERNAL: returns the maximum number of characters that can be used in a field name on this platform.
| |
| getSelectForUpdateString | back to summary |
|---|---|
| public String getSelectForUpdateString() Overrides org. Doc from org. Most database support a syntax. although don't actually lock the row. Some require the OF some don't like it.
| |
| isDBase | back to summary |
|---|---|
| public boolean isDBase() Overrides org. Implements org.
| |
| maximumNumericValues | back to summary |
|---|---|
| public Hashtable Overrides org. Builds a table of minimum numeric values keyed on java class. This is used for type testing but might also be useful to end users attempting to sanitize values. Note BigInteger & BigDecimal minimums are dependent upon their precision & Scale
| |
| minimumNumericValues | back to summary |
|---|---|
| public Hashtable Overrides org. Builds a table of minimum numeric values keyed on java class. This is used for type testing but might also be useful to end users attempting to sanitize values. Note BigInteger & BigDecimal minimums are dependent upon their precision & Scale
| |
| printFieldNotNullClause | back to summary |
|---|---|
| public void printFieldNotNullClause(Writer writer) Overrides org. Append the receiver's field 'NOT NULL' constraint clause to a writer.
| |
| setParameterValueInDatabaseCall | back to summary |
|---|---|
| public void setParameterValueInDatabaseCall(Object parameter, PreparedStatement statement, int index, AbstractSession session) throws SQLException Overrides org. INTERNAL: DBase does not support Time/Timestamp so we must map to strings.
| |
| setParameterValueInDatabaseCall | back to summary |
|---|---|
| public void setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session) throws SQLException Overrides org. INTERNAL: DBase does not support Time/Timestamp so we must map to strings.
| |
| shouldUseJDBCOuterJoinSyntax | back to summary |
|---|---|
| public boolean shouldUseJDBCOuterJoinSyntax() Overrides org. JDBC defines and outer join syntax, many drivers do not support this. So we normally avoid it.
| |
| supportsForeignKeyConstraints | back to summary |
|---|---|
| public boolean supportsForeignKeyConstraints() Overrides org.
| |
| supportsPrimaryKeyConstraint | back to summary |
|---|---|
| public boolean supportsPrimaryKeyConstraint() Overrides org.
| |