l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2011 Mar 23 13:25

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] hsqldb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] hsqldb

I've used HSQLDB for unit testing in the past. I wrote JUnit test
cases that access an in-memory HSQLDB database (which is created with
sample data each time the unit tests are run): very fast, and you
don't need to run a separate database server for your tests. Works


On Tue, Mar 22, 2011 at 10:42 AM, Brian Lavender <brian@brie.com> wrote:
> Many of you have probably used HSQLDB without realizing it.
> OpenOffice uses it!
> Here is some info on HSQLDB. A lot of tutorials for Java use HSQLDB, but
> you can use HSQLDB with PERL too. You can start an HSQLDB server with a
> single command. The following will start a database with called EMPLOYEE.
> java -cp <path to>/hsqldb.jar org.hsqldb.Server -database.0 file:db/employee -dbname.0 EMPLOYEE
> The data for EMPLOYEE will be stored in the sub-directory db.
> HSQLDB comes with a nice GUI tool too!
> java -cp <path to>/hsqldb.jar org.hsqldb.util.DatabaseManager -driver org.hsqldb.jdbcDriver -url jdbc:hsqldb:hsql://localhost/empoloyee -user sa
> You can download hsqldb from the below site. Thus far, I have used 1.8.0 version. There is a new version,
> but I believe it works a bit different. But,... it probably comes with more features.
> http://www.hsqldb.org
> Here is some documentation using HSQLDB with PERL.
> http://hsqldb-ber.sourceforge.net/
> brian
> --
> Brian Lavender
> http://www.brie.com/brian/
> "There are two ways of constructing a software design. One way is to
> make it so simple that there are obviously no deficiencies. And the other
> way is to make it so complicated that there are no obvious deficiencies."
> Professor C. A. R. Hoare
> The 1980 Turing award lecture
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.