[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-890) Invalid database connection properties causes Eclipse to crash
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Wed Feb 21 05:43:38 EST 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-890?page=comments#action_26188 ]
Max Rydahl Andersen commented on HBX-890:
-----------------------------------------
Christian: The problem is that the some jdbc drivers actually hangs forever...can't kill it, can't actually test it reliably...
Joseph: If you had opened the sf directly it should just run in the background.
Note, in current cvs I've forced hibernate to not contact the db when a SF is created making this less of a problem (of course until you try and execute a query - the query thread doing that will possibly hang)
> Invalid database connection properties causes Eclipse to crash
> --------------------------------------------------------------
>
> Key: HBX-890
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-890
> Project: Hibernate Tools
> Type: Bug
> Versions: 3.2beta8
> Reporter: Joseph Marques
>
>
> In this case the hibernate.connection.url was the issue. I had been using "jdbc:postgresql://localhost:<port>/<db>", but that caused Eclipse to crash because that just hangs.
> The proper syntax, for the way I've exposed my postgres installation, is one of the following:
> 1) jdbc:postgresql://<hostname>:<port>/<db>
> 2) jdbc:postgresql://<ip_address>:<port>/<db>
> If there was an explicit timeout for the connection attempt, and then a graceful handling of that timeout, Eclipse wouldn't have to die.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list