DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCJPA-268
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Josh Roys
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus API JPA

inconsistent property name: javax.persistence.sql.load-script-source

Created: 08/Apr/14 10:57 PM   Updated: 21/Apr/14 12:25 PM   Resolved: 09/Apr/14 08:46 AM
Component/s: API
Affects Version/s: 4.0.0.m1
Fix Version/s: 4.0.0.m3

 Description  « Hide
PROPERTY_JPA_STANDARD_SQL_LOAD_SCRIPT_SRC = "javax.persistence.sql.load-script-source"

This property elsewhere seems to be "javax.persistence.sql-load-script-source" (dash after sql rather than dot). I've yet to get either working, and I'm not sure if this is the reason why yet. Also, these docs have the "dot" version of the property:

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 09/Apr/14 08:46 AM
GitHub master now uses "javax.persistence.sql-load-script-source" to match latest JPA spec.

Obviously that wouldn't stop anything working if you simply used the previously advertised property name with an absolute path file name and statements within the script are logged.