The following comment has been added to this issue:
Author: Travis
Created: Thu, 12 Jun 2003 11:23 AM
Body:
Noticed it doesn't say anything about crossdb on here either. This will require crossdb.jar from www.crossdb.com
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-43
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-43
Summary: Auto db build
Type: Patch
Status: Assigned
Priority: Major
Project: Hibernate2
Assignee: Gavin King
Reporter: Max Rydahl Andersen
Created: Sat, 3 May 2003 10:27 AM
Updated: Mon, 19 May 2003 10:45 PM
Description:
Auto db build
small change in Configuation and new class.
Turned on by the following property:
hibernate.autobuilddb true
Small change required in Configuration: replace
buildSessionFactory with this one:
public SessionFactory buildSessionFactory() throws
HibernateException {
secondPassCompile();
Environment.verifyProperties
(properties);
Properties copy = new Properties
();
copy.putAll(properties);
SessionFactoryImpl sessImpl =
new SessionFactoryImpl(this, copy, interceptor);
// build db if autobuild set
String autobuilddb = (String) properties.get
("hibernate.autobuilddb");
if(autobuilddb != null &&
autobuilddb.equalsIgnoreCase("true")){
DbBuilder.autoBuild(this, sessImpl);
}
return sessImpl;
}
http://sourceforge.net/tracker/index.php?func=detail&aid=709940&group_id=40712&atid=428710
---------------------------------------------------------------------
JIRA INFORMATION:
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/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|