-->
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.  [ 4 posts ] 
Author Message
 Post subject: HSQLDB shutdown
PostPosted: Sat Aug 30, 2003 11:00 am 
Newbie

Joined: Thu Aug 28, 2003 7:23 pm
Posts: 1
Is there a way to perform a SHUTDOWN command on HSQLDB?
I'm using Hibernate 2.0.3 and HSQLDB 1.7.1.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 30, 2003 11:17 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
I don't know, as I don't use HSQLDB. But this is a Hibernate forum, the question is better directed to the HSQLDB forum/mailing-list.


Top
 Profile  
 
 Post subject: Re: HSQLDB shutdown
PostPosted: Sat Aug 30, 2003 11:34 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Umlauf wrote:
Is there a way to perform a SHUTDOWN command on HSQLDB?
I'm using Hibernate 2.0.3 and HSQLDB 1.7.1.


Can you do it with JDBC ? Then just get the connection from the session and do whatever you are used to do with it ,)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: shutdown database
PostPosted: Mon Sep 26, 2005 10:50 am 
Newbie

Joined: Mon Sep 26, 2005 10:48 am
Posts: 4
Location: Montevideo, Uruguay
try this

session.connection().createStatement().execute("SHUTDOWN");



Moreover the URL of the database have to end by ;shutdown=true. Here is an example:

jdbc:hsqldb:file:data/localBD;shutdown=true


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.