[GLASSFISH-1172] Java2DB: Properties need to be passed to persistence provider to keep work when bug 1171 is fixed Created: 20/Sep/06  Updated: 25/Nov/10  Resolved: 20/Sep/06

Status: Resolved
Project: glassfish
Component/s: cmp
Affects Version/s: 9.0pe
Fix Version/s: 9.1pe

Type: Bug Priority: Major
Reporter: tware Assignee: marina vatkina
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Dependency
blocks GLASSFISH-1171 Make ddl generation default mode cons... Open
Issuezilla Id: 1,172

 Description   

The following bug will be fixed in TopLink Essentials.

https://glassfish.dev.java.net/issues/show_bug.cgi?id=1171

When it is fixed, in order for Java2DB to keep working a property will have to
be included in the properties passed to createContainerEntityManagerFactory
(PersistenceUnitInfo info, Map properties)

The following property will be required:

toplink.ddl-generation.output-mode=sql-script

In addition, I have come comments and questions that can hopefully be addressed

1. Can users of GlassFish make use of toplink.ddl-generation.output-
mode=database? This should not be disallowed.
2. Can users of GlassFish specify their own locations for createDDL.jdbc and
dropDDL.jdbc. This should not be disallowed.
3. Can users of GlassFish specify their own value for toplink.ddl-generation?
This should not be disallowed.



 Comments   
Comment by marina vatkina [ 20/Sep/06 ]

Fixing the component first.

Comment by marina vatkina [ 20/Sep/06 ]

This has been already done as part of fix for issue
https://glassfish.dev.java.net/issues/show_bug.cgi?id=901.

The toplink.ddl-generation.output-mode=sql-script is set if not set by the user.
None of the user settings are overwritten. There are probably no tests to verify
that, but we can look into adding them. And if any special case is not working,
a separate bug needs to be filed .

      • This issue has been marked as a duplicate of 901 ***
Generated at Wed Jul 01 21:49:00 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.