[forge-issues] [JBoss JIRA] (FORGE-1914) Generated DTOs and REST resources contain compiler errors when underlying JPA entities have primitive Ids
Vineet Reynolds (JIRA)
issues at jboss.org
Mon Jun 30 10:25:24 EDT 2014
[ https://issues.jboss.org/browse/FORGE-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vineet Reynolds resolved FORGE-1914.
------------------------------------
Fix Version/s: 2.7.0.Final
Resolution: Done
Merged: https://github.com/forge/core/commit/09d453386e39fd295d34d2a59718e894bd5a3ab5
Required casts to wrapper types are generated.
> Generated DTOs and REST resources contain compiler errors when underlying JPA entities have primitive Ids
> ---------------------------------------------------------------------------------------------------------
>
> Key: FORGE-1914
> URL: https://issues.jboss.org/browse/FORGE-1914
> Project: Forge
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Java EE
> Affects Versions: 2.6.0.Final
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
> Fix For: 2.7.0.Final
>
>
> When the Root and Nested DTO option is chosen for REST resource generation, the generated DTOs contain compilation errors if the JPA entity used as a basis for the REST resource contains an @Id field of a primitive type - short, long, byte, int etc.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the forge-issues
mailing list