Change Notes item #635435, was opened at 2002-11-08 11:42
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381174&aid=635435&group_id=22866

Category: JBossServer
Group: v4.0
Status: Open
Priority: 5
Submitted By: Peter Fagerlund (peter_f)
Assigned to: Nobody/Anonymous (nobody)
Summary: hsqldb 1.7.1 issues

Initial Comment:
The new hsqldb.jar is vanilla distro with a commented out //
System.exit() in method windowClosing() in file 
org.hsqldb.util.DatabaseManagerSwing

Configuration changes includes 2 new fields in our MBean 
definition as can be seen for ex. in the hsqldb-ds.xml file.

<attribute name="No_system_exit">true</attribute>
Is 1.7.x  configuration property for embedding

<attribute name="Persist">true</attribute>
Is a new flag with default set to true together with <connection-
url>jdbc:hsqldb:hsql://localhost:1710</connection-url>
meaning We will start an instance of the org.hsqldb.Server class 
in a thread as usual. If set to false together with <connection-url>
jdbc:hsqldb:hsql:.</connection-url> We will run hsqldb without the 
server instance above, and We will not be persistent over 
invocations. Set to false means running without Sockets so 
hsqldb are only visible for other components inside the VM, also 
hsqldb are not writing out to a *.script file. In short persist == false 
means We are running without a threaded hsqldb server instance, 
no sockets and no files, therefore no persistence over 
invocations. Great when testing ...

"~Well~" that is what is supposed to happen in teori, in practise 
there is some issues running with persist false mentioned in the 
hsqldb documentation.

*** Start hsqldb docu
In-Memory
URL format: jdbc:hsqldb:. 
No persistence. An applet, for example, could have his very own 
database running in his memory. There is no daemon. Database 
uses no network resources. 

For some reason, with in-memory database ".", sometimes you 
get default data and sometimes you don't. You get the data with 
QueryTool on the command-line, and with DatabaseManager from 
Applet. Otherwise you get an empty database. file:/path/
to.file.html) 
*** End hsqldb docu

huh ... 

So now when running as persist == false We end up with the *
.script file in {JBOSS_HOME_DISTRO}/bin instead, and We do 
persist over invocations ... hmmm ... very confusing ... hehe ... let 
me get back to You after I asked for advise from the hsqldb team.

/peter_f




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381174&aid=635435&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to