Hi,
So far so good. MyEclipse creates the Pojos and the Daos for the database 🙂
Now, I would like the ID field fo the pojos to automatically generate GUIDvalues for creation of a table entry, but how do I include this in the code generation? I do not want to do it manually each time I regenerate.
Any help is appreciated I have provided an example below!
Thanks 🙂
ie.
@Id
@GenericGenerator(name = “generator”, strategy = “guid”, parameters = {})
@GeneratedValue(generator = “generator”)
public String getID()
{
return ID;
}