Hibernate configuration properties :-
hibernate.dialect : allows Hibernate to generate SQL optimized for a particular relational database.
hibernate.show_sql : Write all SQL statements to console.
hibernate.format_sql : Pretty print the SQL in the log and console.
hibernate.connection.autocommit : Enables autocommit for JDBC pooled connections (it is not recommended)
hibernate.connection.isolation : Sets the JDBC transaction isolation level.
hibernate.cache.region_prefix : A prefix to use for second-level cache region names
hibernate.cache.use_second_level_cache : Can be used to completely disable the second level cache, which is enabled by default for classes which specify a <cache> mapping.
hibernate.cache.default_cache_concurrency_strategy : Setting used to give the name of the default org.hibernate.annotations.CacheConcurrencyStrategy to use when either @Cacheable or @Cache is used. @Cache(strategy="..") is used to override this default.
hibernate.generate_statistics : If enabled, Hibernate will collect statistics useful for performance.
Comments
Post a Comment