[forge-users] Forge 2 jpa entity relationship

George Gastaldi ggastald at redhat.com
Mon Feb 3 15:08:24 EST 2014


Hi,

I just run the command you described, and I see the message 
***SUCCESS*** Relationship Many-to-Many created.
Could you provide more information on the problem you're facing? Do you 
see any stacktrace in the ~/.forge/log/forge.log file?

Best Regards,

George


On 03-02-2014 15:28, forge-users at lists.jboss.org wrote:
> Hi,
> It seems that the command *jpa-new-field* doesn't work in Forge2 when the *relationshipType* is set.
> I've tried with a *Many-To-Many* annotation and a *One-To-Many* but they don't work.
> There's no error, so I don't know what is happening...
> The command is: jpa-new-field --named domande --targetEntity it.nikeconsulting.nktest.model.Parent --type it.nikeconsulting.nktest.model.Child --relationshipType Many-to-Many
> Some help?
>
> Posted by forums
> Original post: https://community.jboss.org/message/855983#855983
> _______________________________________________
> forge-users mailing list
> forge-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-users



More information about the forge-users mailing list