File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse and HSQL1.7.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and HSQL1.7.1" Watch "Eclipse and HSQL1.7.1" New topic

Eclipse and HSQL1.7.1

Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164

I don't have the code with me, but something for me unexplainable happened on my Eclipse 3.1_M4.
Was playing with ibatis SQLMaps.
Mapped against a local/file based HSQL DB.
Did just map 1 pojo (User) to one Table.
I wrote the ibatis-hsql-maps-client code in the main method.
(openSession, startTransaction, commit, endTransaction, etc).
Invoked a simple select which returned a user bean through sqlMaps.

I consider myself carefull guy when its about closing external ressources like connections, etc. (at the end of try and closing in catch, also).
When I was running the class in eclipse it did not stop. I had to manually push the red button to stop it.

Might sound funny and difficult to follow.
Little time and the code is on standalone desktop at home.
Any ideas?

thanks axel
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Was it creating a connection pool under the hood maybe in a separate thread that didn't die?

Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
It might have though I haven't configured a connection pool explicitly in the globel mapping file. Am yet starting with ibatis sqlMaps.
I will take an eye on what info I get out of eclipse.
I agree. Here's the link:
subject: Eclipse and HSQL1.7.1
It's not a secret anymore!