JPA (1)

JPA 2.0 Mapping Many to Many

As with many things there is often more than one way to accomplish a task in code. ┬áThe example below demonstrates a simple example of how to map a many to many relationship using JPA 2.0, followed by a slightly more complex but more flexible way to do the same thing.. First things first though. […]