This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply 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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Eclipse and HSQL1.7.1
 
Similar Threads
HSQLDB Connection not established
Ibatis + SQLMAP
newbie in iBatis
iBatis object relationships
Usage of Reserved words for Database Table fields