]
George Gastaldi closed FORGE-685.
---------------------------------
Resolution: Done
scaffold from-entity conflicting type
-------------------------------------
Key: FORGE-685
URL:
https://issues.jboss.org/browse/FORGE-685
Project: Forge
Issue Type: Bug
Components: Scaffold
Affects Versions: 1.1.0.Final
Environment: Windows 7, Java 1.6
Reporter: Brian Lavender
Assignee: George Gastaldi
Fix For: 1.1.1.Final
When I issue the command
scaffold from-entity ~.model.* --overwrite
the generated entity bean has conflicting type for id:short and methods that have it as
an argument id:long. See the following two snippets.
Snippet 1
/*
* Support creating and retrieving Actor entities
*/
private Short id;
Snippet 2
public Actor findById(Long id)
{
return this.entityManager.find(Actor.class, id);
}
--
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: