[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2231) Using "create table" strictly from org.hibernate.dialect.Dialect
Germán Dressino (JIRA)
noreply at atlassian.com
Fri Dec 15 14:52:05 EST 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2231?page=comments#action_25640 ]
Germán Dressino commented on HHH-2231:
--------------------------------------
This will create cached tables (HSQLDB version >= 1.8):
Configuration cfg=....
cfg.setProperty("hibernate.connection.hsqldb.default_table_type","cached");
> Using "create table" strictly from org.hibernate.dialect.Dialect
> ----------------------------------------------------------------
>
> Key: HHH-2231
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2231
> Project: Hibernate3
> Type: Improvement
> Components: core
> Versions: 3.2.0.ga
> Environment: Hibernate v 3.2.0, October 16, 2006,
> HSQLDB 1.8.0.7 (Using In-process mode)
> Reporter: Mark Gorokhov
> Priority: Trivial
>
> Original Estimate: 1 week
> Remaining: 1 week
>
> Configuration property setProperty(Environment.HBM2DDL_AUTO, "update") automatically create missing HSQLDB In-process database. HSQL default "create table" is converted to "create memory table". Hibernate does not provide an option to convert "create table" into "create cached table".
> A keyword "create table" could be found in Hibernate core in many places, including org.hibernate.mapping.Table without an option to override "create table" behavior.
> Proposed: add method Dialect.getCreateTableString() similar to to Dialect.getCreateTemporaryTableString() and use it everywere in the code where "create table" is required.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list