Re: [vox-tech] hsqldb

2011-03-22 Thread Harold Lee
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
great!

Harold

On Tue, Mar 22, 2011 at 10:42 AM, Brian Lavender  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 /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 /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
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Unbuntu and VMSterm script

2011-03-22 Thread David Spencer
Thanks Nick. I've looked into it more this morning. I've found that by using 
the keyboard
preference tool I can reproduce the problem there as well. I've posted a note 
on the
Ubuntu support website. The whole keypad is fouled up. I've even plugged in a 
spare
apple USB keyboard and got the same results. Perhaps it's something unique to my
Dell mini-tower(?). Seems odd when things worked just fine before the latest 
update.


-- Dave Spencer, PageWeavers

On Mar 21, 2011, at 5:12 PM, Nick Schmalenberger wrote:

> On Mon, Mar 21, 2011 at 03:29:44PM -0700, David Spencer, Internet Handyman 
> wrote:
>> Guys, I've been slowly weaning my way away from my OpenVMS addiction
>> by using various tools on Ubuntu. Specifically there's a nifty little
>> key-redefinition script that defines keypad keys and such for the
>> terminal so it emulates (mostly) a VT100. (Try a google search for
>> vmsterm.)
>> 
>> Anyway, after a recent update to unbuntu, it's now broken. I'm not
>> very happy. Any tips on what might have changed that broke the script?
>> Yeah, I know that none of your are familiar with it of course. But
>> how do I go about finding out what changed? I'd really like to think
>> that it's some setting or something that I can flip to get the old
>> behavior back...
>> 
>> Thanks,
>> 
> Well, xev will tell you what key codes are really being pressed
> and xmodmap can print out all the current mappings. Thats all I
> can think of though without knowing how the script does its
> remapping. I only have such experience with xmodmap and I know it
> can be tricky.
> Nick Schmalenberger
> ___
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

___
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


[vox-tech] hsqldb

2011-03-22 Thread Brian Lavender
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 /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 /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