-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: HSQLDB-Creating cached tables using Hibernate
PostPosted: Mon Sep 19, 2005 1:54 am 
Beginner
Beginner

Joined: Wed Jul 21, 2004 7:48 am
Posts: 21
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 2.1

Name and version of the database you are using:
HSQL db -7.1.2


Hi all,
I am using HSQLdb 7.1.2 version and I want to create cached tables in HSQL database. In my application I am using XDoclet for all mapping file creation and using hibernate.util.Schemaexport utility to create the database schema. So by default it creates in-memory tables in HSQL, how can I configure hibernate so that it creates cached tables in hsql?

Thanks in advance,
Mithun Kulkarni


Top
 Profile  
 
 Post subject: creating cached tables
PostPosted: Mon Sep 26, 2005 11:01 am 
Newbie

Joined: Mon Sep 26, 2005 10:48 am
Posts: 4
Location: Montevideo, Uruguay
You cant, here http://opensource2.atlassian.com/projec ... se/HB-1398
you can found a patch that somebody post to fix this problem.

If you use hsqldb 1.8.0 you can select the default table by setting the property: "hsqldb.default_table_type" to [cached|memory]. The property being set by using a sql statement or extending the connection url.



Please rate

_________________
Help each others


Top
 Profile  
 
 Post subject: cached tables
PostPosted: Mon Sep 26, 2005 11:04 am 
Newbie

Joined: Mon Sep 26, 2005 10:48 am
Posts: 4
Location: Montevideo, Uruguay
Check this class, it seems that generates the apropiate cached tables

http://opensource2.atlassian.com/projec ... alect.java

Please rate

_________________
Help each others


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.