spring roo - Roo generated test code does not compile for int @Id variable -
I have created a very simple Spring Roo 1.2.5 project with an Entity class MyEntity that has some string variables. I have a @ id @ generated value (strategy = GenerationType.AUTO) Private Ent ID; On MyEntity.java to create a primary key, and spring generated Cry @Test public void MyEntityIntegrationTest.testFindMyEntity () {MyEntity obj = Dod getRandomMyEntity (); Assert.assertNotNull (data on demand "Maiantiti" failed to correctly start ", obj); int id = obj.getPrimaryKey (); Assert.assertNotNull (to provide data identifiers on demand" Maiantiti failed ", id); Obj = MyEntity.findMyEntity (ID); Assert.assertNotNull (" Search method "MyEntity '' illegal ID" + + + "," ", nULL returned for obj); Assert.assertEquals ("The method for 'MyEntity' detected the wrong identifier", id, obj.getPrimaryKey ()); } In the MyEntityIntegrationTest_Roo_IntegrationTest.aj file. Although there are two proble...