Marius Bogoevici created FORGE-698:
--------------------------------------
Summary: Forge must try to box identifiers when they are primitives
Key: FORGE-698
URL:
https://issues.jboss.org/browse/FORGE-698
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.1.1.Final
Reporter: Marius Bogoevici
With TicketMonster (
https://github.com/jboss-jdf/ticket-monster, tag 2.0.1.Final), when
running the admin_layer.fsh script (without applying the patches), the class
org.jboss.jdf.examples.view.SectionAllocationBean will contain the following uncompilable
code
{code}
return ejbProxy.findById(long.valueOf(value));
{code}
(note the use of lowercase l in long)
This is caused by the id field in the entity class being primitive rather than object.
While this can be worked around easily (using a class is better than the primitive
anyway), this still remains a bug.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira