[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

Operating System: All
Platform: All

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


The following bug will be fixed in TopLink Essentials.


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:


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.

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

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 Sat Oct 01 04:42:30 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.