[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5200) Prepare to use H2 as the default testing datbase
Steve Ebersole (JIRA)
noreply at atlassian.com
Thu May 6 12:10:48 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36953#action_36953 ]
Steve Ebersole commented on HHH-5200:
-------------------------------------
The issues all seem to stem from H2 closing the database when the "last connection" is closed. That is its default behavior when in memory mode. The docs reference a number of ways to get around this. We might opt for "embedded" mode which physically writes to a file. We might also use the "DB_CLOSE_DELAY" property (value of -1 indicates to close the db when the vm exits).
>From past experience with Maven and path injection we should avoid the embedded db route. So I will add "DB_CLOSE_DELAY=-1" to the h2 connection URL.
> Prepare to use H2 as the default testing datbase
> ------------------------------------------------
>
> Key: HHH-5200
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5200
> Project: Hibernate Core
> Issue Type: Task
> Components: core, testsuite
> Reporter: Steve Ebersole
> Assignee: Steve Ebersole
> Fix For: 3.6
>
>
> Evaluate the current couple of errors against H2 to determine cause(s).
--
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