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)

Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Frank Schwarz
Votes: 0
Watchers: 0

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

Static metamodel generator generates invalid java files for primitive types

Created: 04/Jan/11 12:15 PM   Updated: 27/Jan/11 05:15 PM   Resolved: 05/Jan/11 09:54 PM
Component/s: None
Affects Version/s: 2.1.0.release
Fix Version/s: 2.1.1, 3.0.0.m1

File Attachments: 1. Zip Archive (5 kB)

Severity: Proof of Concept

 Description  « Hide
The metamodel generator generates:

public static volatile SingularAttribute<Person, long> id;

Which cannot be compiled by javac due to "long" (it should be "Long").

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 05/Jan/11 06:58 PM
Testcase, as per the reporting guide ?

Frank Schwarz added a comment - 05/Jan/11 08:50 PM

Andy Jefferson added a comment - 05/Jan/11 09:54 PM
2.1 and 3.0 fixed this in SVN