You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

There are a some, but not many, global configuration variables available for Apache MetaModel. On this page you can read about what they are and what they mean.

 

System propertyDefault valueDescription
metamodel.alias.default.tabletrueDefines 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.lobstrueWhether 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 
metamodel.jdbc.compiledquery.pool.idle.timeout500 
metamodel.jdbc.compiledquery.pool.eviction.period.millis1000 
metamodel.dynamodb.throughput.capacity.read5 
metamodel.dynamodb.throughput.capacity.write5 
metamodel.elasticsearch.strip_invalid_field_charstrueDetermines 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.
  • No labels