posted 16 years ago
The said relationship will be useful suppose you want to get the Director of a Movie or all the Movies for a particular Director.
class Movie
@ManyToOne
Director director
class Director
@OneToMany(mappedBy=director)
Collection<Movie> movies