aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and HSQL1.7.1" Watch "Eclipse and HSQL1.7.1" New topic
Author

Eclipse and HSQL1.7.1

Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
Hi,

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?


42
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse and HSQL1.7.1
 
Similar Threads
newbie in iBatis
Ibatis + SQLMAP
iBatis object relationships
Usage of Reserved words for Database Table fields
HSQLDB Connection not established