I have a class that generates String IDs. I would like to pick up the ID from that class when I use the @Id annotation in my Entity. Is there a way this can be done. I have been researching all I see are Ids generated from Tables.
Originally posted by Patrick Mugabe: I have a class that generates String IDs. I would like to pick up the ID from that class when I use the @Id annotation in my Entity. Is there a way this can be done. I have been researching all I see are Ids generated from Tables.
Ideas please???
Generated? Like using @GeneratedValue ? Try taking it out. like now you have