Issue Details (XML | Word | Printable)

Key: GLASSFISH-1172
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: marina vatkina
Reporter: tware
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

Java2DB: Properties need to be passed to persistence provider to keep work when bug 1171 is fixed

Created: 20/Sep/06 08:05 AM   Updated: 25/Nov/10 11:48 PM   Resolved: 20/Sep/06 01:15 PM
Component/s: cmp
Affects Version/s: 9.0pe
Fix Version/s: 9.1pe

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All

Issue Links:
Dependency
 

Issuezilla Id: 1,172
Tags:
Participants: marina vatkina and tware


 Description  « Hide

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.



marina vatkina added a comment - 20/Sep/06 01:11 PM

Fixing the component first.


marina vatkina added a comment - 20/Sep/06 01:15 PM

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 ***

kenaiadmin made changes - 25/Nov/10 11:48 PM
Field Original Value New Value
issue.field.bugzillaimportkey 1172 32776