You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "jamie campbell (JIRA)" <ji...@apache.org> on 2011/02/14 18:33:57 UTC
[jira] Created: (ARIES-575) in blog sample datasource, database
creation is inconsistent
in blog sample datasource, database creation is inconsistent
------------------------------------------------------------
Key: ARIES-575
URL: https://issues.apache.org/jira/browse/ARIES-575
Project: Aries
Issue Type: Bug
Components: Samples
Affects Versions: 0.3
Environment: ubuntu 10.04
Reporter: jamie campbell
Priority: Minor
In the blog sample datasource blueprint file dataSource.xml, the derbyXADataSource section uses the createDatabase property but the derbyDataSource section does not. For bundle reusability (eg using the blog datasource bundle to test in other scenarios) this gets an exception that the database doesn't exist.
Fortunately the fix is easy : copy/pasting the property from the derbyXADataSource section. This is ok because derby's documentation explicitly states that it only creates if the database doesn't already exist, so you don't have to worry about it "double-creating" or smashing stuff you already have (assuming that's even a possible problem).
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira