on 23-07-2 23.01, Jason Dillon at [EMAIL PROTECTED] wrote:

> But can we embed by api?  Or do we still have to call some main(String[]
> args) ?

install new 1.7.0 hsqldb.zip in lib

as desribed in hsqldb_home/doc/hsqlAdvancedGuide.html
create a file named server.properties add values :
server.database=default
server.silent=true
server.trace=false
server.port=1476
server.no_system_exit=true

recompile mbean to use hsqldb.Server instead of hsqldb.Embedded_Server

run as usual ... or just do this ...

in the hsqldb-service.xml file
-change the DefaultDS jdbc:hsqldb:http://localhost:1476 to jdbc:hsqldb:.
-comment out the hsqldb mbean code

You should now be running "in memory" without files & main() & sockets ...

Have not verified with curent version's ...

/p



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to