...
System property | Default value | Description |
---|---|---|
metamodel.alias.default.table | true | Defines whether or not to allow MetaModel to define alias tables with the name "default_table" when appropriate single-table datastores are created (for instance CsvDataContext). This allows for easier querying when the exact name is not relevant, e.g. SELECT * FROM default_table . |
metamodel.jdbc.batch.updates | (none) | Allows you to define whether or not JDBC batch updates should be allowed or not. If not defined, the batch updates will happen when BatchUpdateScript is used and the JDBC driver allows JDBC batch updates. |
metamodel.jdbc.convert.lobs | true | Whether or not to automatically convert JDBC large objects (CLOB and BLOB) to/from String and Byte arrays automatically, instead of using java.sql.Clob and java.sql.Blob classes. |
metamodel.jdbc.compiledquery.pool.max.size | -1 | The maximum amount of active uses of the same JDBC PreparedStatement, backing a CompiledQuery. |
metamodel.jdbc.compiledquery.pool.idle.timeout | 500 | The number of milliseconds to sleep before a lease in the pool that manages the prepared statements is considered idle. |
metamodel.jdbc.compiledquery.pool.eviction.period.millis | 1000 | The number of milliseconds to sleep between runs of the idle object evictor thread in the pool of prepared statements, backing a compiled query. |
metamodel.dynamodb.throughput.capacity.read | 5 | The "read throughput capacity" variable to pass to Amazon DynamoDB when creating new tables. |
metamodel.dynamodb.throughput.capacity.write | 5 | The "write throughput capacity" variable to pass to Amazon DynamoDB when creating new tables. |
metamodel.elasticsearch.strip_invalid_field_chars | true | Determines whether MetaModel can automatically strip away invalid characters from field/column names defined in an ElasticSearch datastore. If this is set to false, and an invalid character occurs, an IllegalArgumentException will be thrown when creating the DataContext. |