-->
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.  [ 1 post ] 
Author Message
 Post subject: Restarted the HQL DB while every time application starting
PostPosted: Tue Nov 28, 2006 5:39 am 
Newbie

Joined: Thu Nov 23, 2006 1:49 am
Posts: 4
Hi Guys,
i have one simple problem that is funny for you and also me.
when i compiling the my simple application from Ecplise 3.1 IDE then every time i need to restart the HQL DB server that running on cmd prompt.
i do requied to restart the HQL DB server bcos of each trasaction ,it is stoped.
and calling System.exit(0) function .

i gave some log that useful for you.
My Console:
Hibernate: insert into favourite_events (user_uid, event_uid) values (?, ?)
Server Console:
C:\hsqldb>java -cp ./lib/hsqldb.jar org.hsqldb.Server -database.0 test -dbname.0
test
[Server@1befab0]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@1befab0]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@1befab0]: Startup sequence initiated from main() method
[Server@1befab0]: Loaded properties from [C:\hsqldb\server.properties]
[Server@1befab0]: Initiating startup sequence...
[Server@1befab0]: Server socket opened successfully in 16 ms.
[Server@1befab0]: Database [index=0, id=0, db=file:test, alias=test] opened suce
ssfully in 281 ms.
[Server@1befab0]: Startup sequence completed in 297 ms.
[Server@1befab0]: 2006-11-27 19:45:51.843 HSQLDB server 1.8.0 is online
[Server@1befab0]: To close normally, connect and execute SHUTDOWN SQL
[Server@1befab0]: From command line, use [Ctrl]+[C] to abort abruptly
[Server@1befab0]: Initiating shutdown sequence...
[Server@1befab0]: Shutdown sequence completed in 0 ms.
[Server@1befab0]: 2006-11-28 15:02:03.562 SHUTDOWN : System.exit() is called nex
t


pls reply me some tips ..i also new guy on Hibernate right now!! and learning Quickly!!!

JavaAmtho


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

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.