|
Persistence: Plugins: JDataStore Dictionary
Configuration Options Related Tasks Related Topics
This page shows the attributes of a JDataStore Dictionary.
Configuration Options
Name Description Char Type Name The default name for the column type indicated by java.sql.Types.CHAR. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.CharTypeNameChanges take effect after you redeploy the module or restart the server.
Outer Join Clause The SQL clause to express a left outer join.
MBean Attribute:
BuiltInDBDictionaryBean.OuterJoinClauseChanges take effect after you redeploy the module or restart the server.
Binary Type Name The default name for the column type indicated by java.sql.Types.BINARY. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.BinaryTypeNameChanges take effect after you redeploy the module or restart the server.
Clob Type Name The default name for the column type indicated by java.sql.Types.CLOB. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.ClobTypeNameChanges take effect after you redeploy the module or restart the server.
Supports Locking With Distinct Clause When true, the database supports FOR UPDATE clauses in SQL select statements with DISTINCT clauses.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsLockingWithDistinctClauseChanges take effect after you redeploy the module or restart the server.
Simulate Locking Setting this property to true bypasses Kodo's attempt, when executing a transaction with the pessimistic lock manager, to lock records in the database upon load.
Because some databases do not support pessimistic locking, attempting a pessimistic transaction within Kodo will result in an exception with these databases unless this property is set to true. At the same time, setting this property to true means that the semantics of a pessimistic transaction with the database are not obtained.
MBean Attribute:
BuiltInDBDictionaryBean.SimulateLockingChanges take effect after you redeploy the module or restart the server.
System Tables A comma-separated list of table names that the dictionary should ignored.
MBean Attribute:
BuiltInDBDictionaryBean.SystemTablesChanges take effect after you redeploy the module or restart the server.
Concatenate Function The SQL function call or operation to concatenate two strings. Use the tokens {0} and {1} to represent the two arguments. The result of the function or operation is to concatenate the {1} string to the end of the {0} string.
MBean Attribute:
BuiltInDBDictionaryBean.ConcatenateFunctionChanges take effect after you redeploy the module or restart the server.
Sub Function Name MBean Attribute:
BuiltInDBDictionaryBean.SubFunctionNameChanges take effect after you redeploy the module or restart the server.
Supports Query Timeout When true, the JDBC driver supports calls to java.sql.Statement.setQueryTimeout.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsQueryTimeoutChanges take effect after you redeploy the module or restart the server.
Use Set Bytes For Blobs When true, the dictionary will use PreparedStatement.setBytes to set blob data, rather than PreparedStatement.setBinaryStream.
MBean Attribute:
BuiltInDBDictionaryBean.UseSetBytesForBlobsChanges take effect after you redeploy the module or restart the server.
Max Constraint Name Length The maximum number of characters in a constraint name.
MBean Attribute:
BuiltInDBDictionaryBean.MaxConstraintNameLengthChanges take effect after you redeploy the module or restart the server.
Search Escape MBean Attribute:
BuiltInDBDictionaryBean.SearchEscapeChanges take effect after you redeploy the module or restart the server.
Supports Cascade Update Action When true, the database supports the CASCADE update action on foreign keys.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsCascadeUpdateActionChanges take effect after you redeploy the module or restart the server.
String Length Function The SQL function call to get the length of a string. Use the token {0} to represent the argument.
MBean Attribute:
BuiltInDBDictionaryBean.StringLengthFunctionChanges take effect after you redeploy the module or restart the server.
get Long Varbinary Type Name MBean Attribute:
BuiltInDBDictionaryBean.getLongVarbinaryTypeNameChanges take effect after you redeploy the module or restart the server.
Supports Unique Constraints When true, the database supports unique constraints.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsUniqueConstraintsChanges take effect after you redeploy the module or restart the server.
Supports Restrict Delete Action When true, the database supports the RESTRICT delete action on foreign keys.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsRestrictDeleteActionChanges take effect after you redeploy the module or restart the server.
Trim Leading Function The SQL function call to trim any number of a particular character from the start of a string.
Note: some databases do not support specifying the character in which case only spaces or whitespace can be trimmed.
Use the token {1} when possible to represent the character, and the token {0} to represent the string.
MBean Attribute:
BuiltInDBDictionaryBean.TrimLeadingFunctionChanges take effect after you redeploy the module or restart the server.
Supports Default Delete Action When true, the database supports the SET DEFAULT delete action on foreign keys.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsDefaultDeleteActionChanges take effect after you redeploy the module or restart the server.
Next Sequence Query A SQL string for obtaining a native sequence value. May use a placeholder of {0} for the sequence name. For example, "SELECT {0}.NEXTVAL FROM DUAL" for Oracle.
MBean Attribute:
BuiltInDBDictionaryBean.NextSequenceQueryChanges take effect after you redeploy the module or restart the server.
Long Varchar Type Name The default name for the column type indicated by java.sql.Types.LONGVARCHAR. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.LongVarcharTypeNameChanges take effect after you redeploy the module or restart the server.
Cross Join Clause The SQL clause to express a cross join (cartesian product).
MBean Attribute:
BuiltInDBDictionaryBean.CrossJoinClauseChanges take effect after you redeploy the module or restart the server.
Max Embedded Clob Size When greater than -1, the maximum size of a CLOB value that can be sent directly to the database within an insert or update statement. Values whose size is greater than MaxEmbeddedClobSize force OpenJPA to work around this limitation. A value of -1 means that there is no limitation.
MBean Attribute:
BuiltInDBDictionaryBean.MaxEmbeddedClobSizeChanges take effect after you redeploy the module or restart the server.
Date Type Name The default name for the column type indicated by java.sql.Types.DATE. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.DateTypeNameChanges take effect after you redeploy the module or restart the server.
Supports Schema For Get Tables When true, the database driver supports using the schema name for schema reflection on table names.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsSchemaForGetTablesChanges take effect after you redeploy the module or restart the server.
Supports Alter Table With Drop Column When true, the database supports dropping a column in an ALTER TABLE statement.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsAlterTableWithDropColumnChanges take effect after you redeploy the module or restart the server.
Current Time Function The SQL function call to obtain the current time from the database.
MBean Attribute:
BuiltInDBDictionaryBean.CurrentTimeFunctionChanges take effect after you redeploy the module or restart the server.
Requires Condition For Cross Join When true, the database requires that there always be a conditional clause in any SQL statement expressing a cross join.
MBean Attribute:
BuiltInDBDictionaryBean.RequiresConditionForCrossJoinChanges take effect after you redeploy the module or restart the server.
Ref Type Name The default name for the column type indicated by java.sql.Types.REF. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.RefTypeNameChanges take effect after you redeploy the module or restart the server.
Concatenate Delimiter This property is not used.
MBean Attribute:
BuiltInDBDictionaryBean.ConcatenateDelimiterChanges take effect after you redeploy the module or restart the server.
Catalog Separator The string the database uses to delimit between the schema name and the table name.
MBean Attribute:
BuiltInDBDictionaryBean.CatalogSeparatorChanges take effect after you redeploy the module or restart the server.
Supports Mod Operator When true, the database supports the modulus operator (%) instead of the MOD function.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsModOperatorChanges take effect after you redeploy the module or restart the server.
Schema Case The case to use when querying the database metadata about schema components. Available values are: upper, lower, and preserve.
MBean Attribute:
BuiltInDBDictionaryBean.SchemaCaseChanges take effect after you redeploy the module or restart the server.
Java Object Type Name The default name for the column type indicated by java.sql.Types.JAVAOBJECT. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.JavaObjectTypeNameChanges take effect after you redeploy the module or restart the server.
Driver Vendor Some dictionaries must alter their behavior depending on the driver's vendor. When used, the dictionary often sets this property using its own logic. To override this logic, see the VENDOR_XXX constants, if any, defined in the dictionary's Javadoc.
MBean Attribute:
BuiltInDBDictionaryBean.DriverVendorChanges take effect after you redeploy the module or restart the server.
Supports Locking With Multiple Tables When true, the database supports FOR UPDATE clauses in SQL select statements that select from multiple tables.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsLockingWithMultipleTablesChanges take effect after you redeploy the module or restart the server.
Max Column Name Length The maximum number of characters in a column name.
MBean Attribute:
BuiltInDBDictionaryBean.MaxColumnNameLengthChanges take effect after you redeploy the module or restart the server.
Double Type Name The default name for the column type indicated by java.sql.Types.DOUBLE. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.DoubleTypeNameChanges take effect after you redeploy the module or restart the server.
Use Get String For Clobs When true, the dictionary will use ResultSet.getString to obtain clob data rather than ResultSet.getCharacterStream.
MBean Attribute:
BuiltInDBDictionaryBean.UseGetStringForClobsChanges take effect after you redeploy the module or restart the server.
Decimal Type Name The default name for the column type indicated by java.sql.Types.DECIMAL. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.DecimalTypeNameChanges take effect after you redeploy the module or restart the server.
Smallint Type Name The default name for the column type indicated by java.sql.Types.SMALLINT. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.SmallintTypeNameChanges take effect after you redeploy the module or restart the server.
Date Precision The database is able to store time values to this degree of precision, which is expressed in nanoseconds.
This value is usually one million, meaning that the database is able to store time values with a precision of one millisecond. Particular databases may have more or less precision.
Kodo and OpenJPA will round all time values to this degree of precision before storing them in the database.
MBean Attribute:
BuiltInDBDictionaryBean.DatePrecisionChanges take effect after you redeploy the module or restart the server.
Supports Alter Table With Add Column When true, the database supports adding a new column in an ALTER TABLE statement.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsAlterTableWithAddColumnChanges take effect after you redeploy the module or restart the server.
Bit Type Name The default name for the column type indicated by java.sql.Types.BIT. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.BitTypeNameChanges take effect after you redeploy the module or restart the server.
Supports Null Table For Get Columns When true, the database supports passing a null parameter to DatabaseMetaData.getColumns as an optimization to get information on all tables.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsNullTableForGetColumnsChanges take effect after you redeploy the module or restart the server.
To Upper Case Function The SQL function call to convert a string to upper case. Use the token {0} to represent the argument.
MBean Attribute:
BuiltInDBDictionaryBean.ToUpperCaseFunctionChanges take effect after you redeploy the module or restart the server.
Supports Select End Index When true, the database supports SQL select statements that do not return more than the first N results.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsSelectEndIndexChanges take effect after you redeploy the module or restart the server.
Supports Auto Assign When true, the database supports auto-assign columns where the value of column is assigned upon insertion of the row into the database.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsAutoAssignChanges take effect after you redeploy the module or restart the server.
Store Large Numbers As Strings When true, the dictionary prefers to store large numbers (Java fields of type BigInteger and BigDecimal) as string values in the database. Likewise, the dictionary will instruct the mapping tool to map the BigInteger or BigDecimal fields to character columns.
Because many databases have limitations on the number of digits that can be stored in a numeric column (for example, Oracle can only store 38 digits), this option may be necessary for some applications.
Note that this option may prevent Kodo from executing meaningful numeric queries against the columns.
MBean Attribute:
BuiltInDBDictionaryBean.StoreLargeNumbersAsStringsChanges take effect after you redeploy the module or restart the server.
Constraint Name Mode MBean Attribute:
BuiltInDBDictionaryBean.ConstraintNameModeChanges take effect after you redeploy the module or restart the server.
Allows Alias In Bulk Clause When true, SQL delete and update statements may use table aliases.
MBean Attribute:
BuiltInDBDictionaryBean.AllowsAliasInBulkClauseChanges take effect after you redeploy the module or restart the server.
Supports Select For Update When true, the database supports SQL select statements with a pessimistic locking (FOR UPDATE) clause.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsSelectForUpdateChanges take effect after you redeploy the module or restart the server.
Distinct Count Column Separator The string the database uses to delimit between column expressions in a SELECT COUNT(DISTINCT column-list) clause. Defaults to null for most databases, meaning that they do not support multiple columns in a distinct COUNT clause.
MBean Attribute:
BuiltInDBDictionaryBean.DistinctCountColumnSeparatorChanges take effect after you redeploy the module or restart the server.
Supports Subselect When true, the database supports SQL select statements with subselect clauses.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsSubselectChanges take effect after you redeploy the module or restart the server.
Time Type Name The default name for the column type indicated by java.sql.Types.TIME. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.TimeTypeNameChanges take effect after you redeploy the module or restart the server.
Auto Assign Type Name The default name for the column type used for auto-increment columns. For example, "BIGSERIAL" for PostgreSQL. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.AutoAssignTypeNameChanges take effect after you redeploy the module or restart the server.
Use Get Object For Blobs When true, the dictionary will use ResultSet.getObject to obtain blob data rather than ResultSet.getBinaryStream.
MBean Attribute:
BuiltInDBDictionaryBean.UseGetObjectForBlobsChanges take effect after you redeploy the module or restart the server.
Max Auto Assign Name Length The maximum number of characters in the name of a sequence used for auto-increment columns. Any name provided that is longer than this value is truncated.
MBean Attribute:
BuiltInDBDictionaryBean.MaxAutoAssignNameLengthChanges take effect after you redeploy the module or restart the server.
Validation SQL The SQL used to validate that a connection to the database is still in working order. The SQL statement should impose minimum load on the database.
MBean Attribute:
BuiltInDBDictionaryBean.ValidationSQLChanges take effect after you redeploy the module or restart the server.
Struct Type Name The default name for the column type indicated by java.sql.Types.STRUCT. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.StructTypeNameChanges take effect after you redeploy the module or restart the server.
Varchar Type Name The default name for the column type indicated by java.sql.Types.VARCHAR. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.VarcharTypeNameChanges take effect after you redeploy the module or restart the server.
Range Position Indicates where to specify in the SQL select statement the range, if any, of the result rows to be returned.
When limiting the number of returned result rows to a subset of all those that satisfy the query's conditions, the position of the range clause varies by database.
Examine the source code of the org.apache.openjpa.jdbc.sql.DBDictionary class to view the possible values and their effects.
MBean Attribute:
BuiltInDBDictionaryBean.RangePositionChanges take effect after you redeploy the module or restart the server.
Supports Restrict Update Action When true, the database supports the RESTRICT update action on foreign keys.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsRestrictUpdateActionChanges take effect after you redeploy the module or restart the server.
Auto Assign Clause The magic word(s) to append to the column definition of a SQL statement that creates an auto-assignment column. For example, "AUTO_INCREMENT" for MySQL. Used only when the mapping tool generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.AutoAssignClauseChanges take effect after you redeploy the module or restart the server.
Supports Multiple Nontransactional Result Sets When true, a nontransactional JDBC connection to the database is capable of having multiple open ResultSet instances.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsMultipleNontransactionalResultSetsChanges take effect after you redeploy the module or restart the server.
Bit Length Function This property is not used.
MBean Attribute:
BuiltInDBDictionaryBean.BitLengthFunctionChanges take effect after you redeploy the module or restart the server.
Create Primary Keys When true, create database primary keys for identifiers.
MBean Attribute:
BuiltInDBDictionaryBean.CreatePrimaryKeysChanges take effect after you redeploy the module or restart the server.
Null Type Name The default name for the column type indicated by java.sql.Types.NULL. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.NullTypeNameChanges take effect after you redeploy the module or restart the server.
Float Type Name The default name for the column type indicated by java.sql.Types.FLOAT. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.FloatTypeNameChanges take effect after you redeploy the module or restart the server.
Use Get Bytes For Blobs When true, the dictionary will use ResultSet.getBytes to obtain blob data rather than ResultSet.getBinaryStream.
MBean Attribute:
BuiltInDBDictionaryBean.UseGetBytesForBlobsChanges take effect after you redeploy the module or restart the server.
Table Types Comma-separated list of table types to use when looking for tables during schema reflection, as defined in the JDBC method java.sql.DatabaseMetaData.getTableInfo. Examples are "TABLE" and "TABLE,VIEW,ALIAS".
MBean Attribute:
BuiltInDBDictionaryBean.TableTypesChanges take effect after you redeploy the module or restart the server.
Numeric Type Name The default name for the column type indicated by java.sql.Types.NUMERIC. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.NumericTypeNameChanges take effect after you redeploy the module or restart the server.
Table For Update Clause The clause to append to the end of each table alias in queries that obtain pessimistic locks.
MBean Attribute:
BuiltInDBDictionaryBean.TableForUpdateClauseChanges take effect after you redeploy the module or restart the server.
Integer Type Name The default name for the column type indicated by java.sql.Types.INTEGER. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.IntegerTypeNameChanges take effect after you redeploy the module or restart the server.
Blob Type Name The default name for the column type indicated by java.sql.Types.BLOB. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.BlobTypeNameChanges take effect after you redeploy the module or restart the server.
For Update Clause The clause to append to SQL select statements to issue queries that obtain pessimistic locks. The clause is usually FOR UPDATE.
MBean Attribute:
BuiltInDBDictionaryBean.ForUpdateClauseChanges take effect after you redeploy the module or restart the server.
Boolean Type Name The default name for the column type indicated by java.sql.Types.BOOLEAN. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.BooleanTypeNameChanges take effect after you redeploy the module or restart the server.
Use Get Best Row Identifier For Primary Keys When true, metadata queries will use DatabaseMetaData.getBestRowIdentifier to obtain information about primary keys, rather than DatabaseMetaData.getPrimaryKeys.
MBean Attribute:
BuiltInDBDictionaryBean.UseGetBestRowIdentifierForPrimaryKeysChanges take effect after you redeploy the module or restart the server.
Supports Foreign Keys When true, the database supports foreign keys.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsForeignKeysChanges take effect after you redeploy the module or restart the server.
Drop Table SQL The SQL statement used to drop a table. Use the token {0} as the argument for the table name.
MBean Attribute:
BuiltInDBDictionaryBean.DropTableSQLChanges take effect after you redeploy the module or restart the server.
Use Set String For Clobs When true, the dictionary will use PreparedStatement.setString to set clob data, rather than PreparedStatement.setCharacterStream.
MBean Attribute:
BuiltInDBDictionaryBean.UseSetStringForClobsChanges take effect after you redeploy the module or restart the server.
Supports Locking With Order Clause When true, the database supports FOR UPDATE clauses in SQL select statements with ORDER BY clauses.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsLockingWithOrderClauseChanges take effect after you redeploy the module or restart the server.
Platform The name of the database that this dictionary targets.
MBean Attribute:
BuiltInDBDictionaryBean.PlatformChanges take effect after you redeploy the module or restart the server.
Fixed Size Type Names A comma separated list of additional database types that have a size defined by the database. In other words, when a column of a fixed size type is declared, its size cannot be defined by the user. Common examples would be DATE, FLOAT, and INTEGER.
Each database dictionary has its own internal set of fixed size type names (fixedSizeTypeNameSet) that include the names mentioned above and many others.
Names added to this property are added to the dictionary's internal set.
MBean Attribute:
BuiltInDBDictionaryBean.FixedSizeTypeNamesChanges take effect after you redeploy the module or restart the server.
Store Chars As Numbers When true, the dictionary prefers to store Java char fields as numbers rather than as CHAR values.
MBean Attribute:
BuiltInDBDictionaryBean.StoreCharsAsNumbersChanges take effect after you redeploy the module or restart the server.
Max Indexes Per Table The maximum number of indexes that can be placed on a single table.
MBean Attribute:
BuiltInDBDictionaryBean.MaxIndexesPerTableChanges take effect after you redeploy the module or restart the server.
Requires Cast For Comparisons When true, comparisons of two values of different types or of two literals requires a cast in the generated SQL.
MBean Attribute:
BuiltInDBDictionaryBean.RequiresCastForComparisonsChanges take effect after you redeploy the module or restart the server.
Supports Having When true, the database supports HAVING clauses in SQL select statements.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsHavingChanges take effect after you redeploy the module or restart the server.
Supports Locking With Outer Join When true, the database supports FOR UPDATE clauses in SQL select statements with outer join clauses.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsLockingWithOuterJoinChanges take effect after you redeploy the module or restart the server.
Supports Correlated Subselect When true, the database supports correlated subselects. Correlated subselects are select statements nested within select statements that refers to a column in the outer select statement. For performance reasons, correlated subselects are generally a last resort.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsCorrelatedSubselectChanges take effect after you redeploy the module or restart the server.
Supports Null Table For Get Imported Keys When true, the database supports passing a null parameter to DatabaseMetaData.getImportedKeys as an optimization to get information on all tables.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsNullTableForGetImportedKeysChanges take effect after you redeploy the module or restart the server.
Bigint Type Name The default name for the column type indicated by java.sql.Types.BIGINT. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.BigintTypeNameChanges take effect after you redeploy the module or restart the server.
Last Generated Key Query The query to issue to obtain the last automatically generated key for an auto-increment column. For example, "SELECT LAST_INSERT_ID()" for MySQL.
MBean Attribute:
BuiltInDBDictionaryBean.LastGeneratedKeyQueryChanges take effect after you redeploy the module or restart the server.
Reserved Words A comma-separated list of reserved words for the database, beyond the standard SQL92 keywords.
MBean Attribute:
BuiltInDBDictionaryBean.ReservedWordsChanges take effect after you redeploy the module or restart the server.
Supports Null Update Action When true, the database supports the SET NULL update action on foreign keys.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsNullUpdateActionChanges take effect after you redeploy the module or restart the server.
Use Schema Name When true, the dictionary generates SQL that uses the schema name with the table name.
MBean Attribute:
BuiltInDBDictionaryBean.UseSchemaNameChanges take effect after you redeploy the module or restart the server.
Supports Deferred Constraints When true, the database supports deferred constraints. The database supports deferred constraints by checking for constraint violations when the transaction commits, rather than checking for violations immediately after receiving each SQL statement within the transaction.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsDeferredConstraintsChanges take effect after you redeploy the module or restart the server.
Real Type Name The default name for the column type indicated by java.sql.Types.REAL. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.RealTypeNameChanges take effect after you redeploy the module or restart the server.
Requires Alias For Subselect When true, the database requires that subselects in a FROM clause be assigned an alias.
MBean Attribute:
BuiltInDBDictionaryBean.RequiresAliasForSubselectChanges take effect after you redeploy the module or restart the server.
Supports Null Table For Get Index Info When true, the database supports passing a null parameter to DatabaseMetaData.getIndexInfo as an optimization to get information on all tables.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsNullTableForGetIndexInfoChanges take effect after you redeploy the module or restart the server.
Trim Trailing Function The SQL function call to trim any number of a particular character from the end of a string.
Note: some databases do not support specifying the character in which case only spaces or whitespace can be trimmed.
Use the token {1} when possible to represent the character, and the token {0} to represent the string.
MBean Attribute:
BuiltInDBDictionaryBean.TrimTrailingFunctionChanges take effect after you redeploy the module or restart the server.
Supports Locking With Select Range When true, the database supports FOR UPDATE clauses in SQL select statements select a range of data using LIMIT, TOP or equivalent database specific clause.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsLockingWithSelectRangeChanges take effect after you redeploy the module or restart the server.
Storage Limitations Fatal When true, then any data truncation or rounding that is performed by the dictionary in order to store a value in the database will be treated as a fatal error. Otherwise, the dictionary issues a warning.
MBean Attribute:
BuiltInDBDictionaryBean.StorageLimitationsFatalChanges take effect after you redeploy the module or restart the server.
Supports Locking With Inner Join When true, the database supports FOR UPDATE clauses in SQL select statements with inner join clauses.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsLockingWithInnerJoinChanges take effect after you redeploy the module or restart the server.
Current Timestamp Function The SQL function call to obtain the current timestamp from the database.
MBean Attribute:
BuiltInDBDictionaryBean.CurrentTimestampFunctionChanges take effect after you redeploy the module or restart the server.
Cast Function The SQL function call to cast a value to another SQL type. Use the tokens {0} and {1} to represent the two arguments. The result of the function is convert the {0} value to a {1} type.
MBean Attribute:
BuiltInDBDictionaryBean.CastFunctionChanges take effect after you redeploy the module or restart the server.
Other Type Name The default name for the column type indicated by java.sql.Types.OTHER. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.OtherTypeNameChanges take effect after you redeploy the module or restart the server.
Max Index Name Length The maximum number of characters in an index name.
MBean Attribute:
BuiltInDBDictionaryBean.MaxIndexNameLengthChanges take effect after you redeploy the module or restart the server.
Distinct Type Name The default name for the column type indicated by java.sql.Types.DISTINCT. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.DistinctTypeNameChanges take effect after you redeploy the module or restart the server.
Character Column Size The default size of VARCHAR and CHAR columns, typically 255.
MBean Attribute:
BuiltInDBDictionaryBean.CharacterColumnSizeChanges take effect after you redeploy the module or restart the server.
Varbinary Type Name The default name for the column type indicated by java.sql.Types.VARBINARY. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.VarbinaryTypeNameChanges take effect after you redeploy the module or restart the server.
Max Table Name Length The maximum number of characters in a table name.
MBean Attribute:
BuiltInDBDictionaryBean.MaxTableNameLengthChanges take effect after you redeploy the module or restart the server.
Close Pool SQL A special command to issue to the database when shutting down the pool.
Usually the pool of connections to the database is closed when the application is ending. For embedded databases, whose lifecycle is coterminous with the application, there may be a special command, usually "SHUTDOWN", that will cause the database to close cleanly.
MBean Attribute:
BuiltInDBDictionaryBean.ClosePoolSQLChanges take effect after you redeploy the module or restart the server.
Current Date Function The SQL function call to obtain the current date from the database.
MBean Attribute:
BuiltInDBDictionaryBean.CurrentDateFunctionChanges take effect after you redeploy the module or restart the server.
Join Syntax The style of SQL join syntax to use in select statements.
sql92 - ANSI SQL92 join syntax where joins are expressed in the SQL FROM clause. Outer joins are supported. Not all databases support this syntax.
traditional - Traditional SQL join syntax where joins are expressed in the SQL WHERE clause. Outer joins are not supported.
database - Join syntax is encoded to some extent within the dictionary class for the database. Outer joins may be supported.
MBean Attribute:
BuiltInDBDictionaryBean.JoinSyntaxChanges take effect after you redeploy the module or restart the server.
Max Embedded Blob Size When greater than -1, the maximum size of a BLOB value that can be sent directly to the database within an insert or update statement. Values whose size is greater than MaxEmbeddedBlobSize force OpenJPA to work around this limitation. A value of -1 means that there is no limitation.
MBean Attribute:
BuiltInDBDictionaryBean.MaxEmbeddedBlobSizeChanges take effect after you redeploy the module or restart the server.
Trim Both Function The SQL function call to trim any number of a particular character from both the start and end of a string.
Note: some databases do not support specifying the character in which case only spaces or whitespace can be trimmed.
Use the token {1} when possible to represent the character, and the token {0} to represent the string.
MBean Attribute:
BuiltInDBDictionaryBean.TrimBothFunctionChanges take effect after you redeploy the module or restart the server.
Supports Select Start Index When true, the database supports SQL select statements that skip the first N results.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsSelectStartIndexChanges take effect after you redeploy the module or restart the server.
To Lower Case Function The SQL function call to convert a string to lower case. Use the token {0} to represent the argument.
MBean Attribute:
BuiltInDBDictionaryBean.ToLowerCaseFunctionChanges take effect after you redeploy the module or restart the server.
Array Type Name The default name for the column type indicated by java.sql.Types.ARRAY. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.ArrayTypeNameChanges take effect after you redeploy the module or restart the server.
Inner Join Clause The SQL clause to express an inner join.
MBean Attribute:
BuiltInDBDictionaryBean.InnerJoinClauseChanges take effect after you redeploy the module or restart the server.
Supports Default Update Action When true, the database supports the SET DEFAULT update action on foreign keys.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsDefaultUpdateActionChanges take effect after you redeploy the module or restart the server.
Supports Schema For Get Columns When true, the database driver supports using the schema name for schema reflection on column names.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsSchemaForGetColumnsChanges take effect after you redeploy the module or restart the server.
Tinyint Type Name The default name for the column type indicated by java.sql.Types.TINYINT. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.TinyintTypeNameChanges take effect after you redeploy the module or restart the server.
Supports Null Table For Get Primary Keys When true, the database supports passing a null parameter to DatabaseMetaData.getPrimaryKeys as an optimization to get information on all tables.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsNullTableForGetPrimaryKeysChanges take effect after you redeploy the module or restart the server.
System Schemas A comma-separated list of schema names that should be ignored.
MBean Attribute:
BuiltInDBDictionaryBean.SystemSchemasChanges take effect after you redeploy the module or restart the server.
Requires Cast For Math Functions When true, math operations on two values of different types or on two literals requires a cast in the generated SQL.
MBean Attribute:
BuiltInDBDictionaryBean.RequiresCastForMathFunctionsChanges take effect after you redeploy the module or restart the server.
Supports Null Delete Action When true, the database supports the SET NULL delete action on foreign keys.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsNullDeleteActionChanges take effect after you redeploy the module or restart the server.
Requires Auto Commit For Meta Data When true, the JDBC driver requires that autocommit be enabled before any schema interrogation operations can take place.
MBean Attribute:
BuiltInDBDictionaryBean.RequiresAutoCommitForMetaDataChanges take effect after you redeploy the module or restart the server.
Timestamp Type Name The default name for the column type indicated by java.sql.Types.TIMESTAMP. The mapping tool uses the name when it generates a schema.
MBean Attribute:
BuiltInDBDictionaryBean.TimestampTypeNameChanges take effect after you redeploy the module or restart the server.
Initialization SQL A SQL statement to initialize a connection after obtaining it from the DataSource. The dictionary normally uses this to work around any JDBC bugs.
MBean Attribute:
BuiltInDBDictionaryBean.InitializationSQLChanges take effect after you redeploy the module or restart the server.
Supports Cascade Delete Action When true, the database supports the CASCADE delete action on foreign keys.
MBean Attribute:
BuiltInDBDictionaryBean.SupportsCascadeDeleteActionChanges take effect after you redeploy the module or restart the server.
| |