[forge-issues] [JBoss JIRA] (FORGE-2467) JPA Entities using @MappedSuperclass don't get recognized by Scaffold: Generate for AngularJS/Rest Endpoint from Entity

Matyas Danter (JIRA) issues at jboss.org
Wed Sep 2 13:09:05 EDT 2015


    [ https://issues.jboss.org/browse/FORGE-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104685#comment-13104685 ] 

Matyas Danter commented on FORGE-2467:
--------------------------------------

Hey George,

fork/clone this: https://github.com/ge0ffrey/optaconf

in eclipse go to Scaffold: Generate -> Scaffold Type: AngularJS-> pick CDI 1.1-> Entity selection table is empty.

> JPA Entities using @MappedSuperclass don't get recognized by Scaffold: Generate for AngularJS/Rest Endpoint from Entity
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: FORGE-2467
>                 URL: https://issues.jboss.org/browse/FORGE-2467
>             Project: Forge
>          Issue Type: Enhancement
>          Components: Scaffold
>    Affects Versions: 2.16.1.Final
>         Environment: Eclipse MARS, 
>            Reporter: Matyas Danter
>             Fix For: 2.x Future
>
>
> When JPA Entities use a @MappedSuperclass that provides the @id field, the Scaffold: Generate wizard's AngularJS option, and Rest Endpoint from Entities command don't show the Entities in the selection table.
> The entities DO appear in the JSF scaffolding table. It would be helpful if Endpoint creation and Scaffolding supported @MappedSuperclass and @Embedded entities containing the ID or primary key fields.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the forge-issues mailing list