Bug 779966 (SOA-2326) - Modeshape does not come with SQL scripts to create JPA store
Summary: Modeshape does not come with SQL scripts to create JPA store
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2326
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0.ER1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.0.ER4
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks: SOA-2271
TreeView+ depends on / blocked
 
Reported: 2010-09-17 13:53 UTC by Jiri Pechanec
Modified: 2013-04-30 03:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 11:32:37 UTC
Type: Task


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2326 0 None None None Never

Description Jiri Pechanec 2010-09-17 13:53:35 UTC
project_key: SOA

DB admins typically prefers to see and use sql scripts to create db as AS may not have privileges to do such operation.

Comment 1 Van Halbert 2010-09-17 15:11:12 UTC
When using a new repository, for production, the idea is to use "validate" and to manually set up the database (using a SQL script created with the "modeshape-jpa-ddl-gen" utility).


Comment 2 Van Halbert 2010-09-17 16:10:05 UTC
The gen utility jar (modeshape-jpa-ddl-gen-2.2.0.Final-jar-with-dependencies.jar) is not currently being included.   Probably need to wrap this with in a build.xml that makes it easier to run.

Comment 3 Jiri Pechanec 2010-09-18 06:25:55 UTC
If there is such utility it should be executed during build process - all other SOA-P components comes with SQL scripts, including those using JPA or Hibernate for db access

Comment 4 Van Halbert 2010-09-20 14:25:00 UTC
Parent: Added: SOA-2271


Comment 5 Van Halbert 2010-09-23 15:31:51 UTC
For ER2, there is a tools directory with the gen jar.    For the next release, will be adding the script generation tooling that will generate all the scripts for the supporting dbs.

Comment 6 Van Halbert 2010-10-04 19:58:28 UTC
The ddl-gen tool is now unbundled with scripts to execute to create ddl.   Also, when modeshape is installed, the predefined supported repositories will be automatically generated.  There will be a directory for each dialect supported containing the create and drop ddl.

Comment 7 Jiri Pechanec 2010-10-26 11:16:02 UTC
MS SQL scripts are missing
Also MySQL should be generated using MySQL 5 dialect to have transactions enabled on the tables - ie. create table ... type=InnoDB;

Comment 8 Van Halbert 2010-10-28 15:10:27 UTC
The fix has been checked into the soa build.   This problem was due to incorrectly entering the dialect for MS.

Comment 9 Jiri Pechanec 2010-11-10 11:32:37 UTC
Verified in ER4


Note You need to log in before you can comment on or make changes to this bug.