model « Annotation « JPA Q&A

1. JPA - using annotations in a model

My application runs on JPA/Hibernate, Spring and Wicket. I'm trying to convert our ORM from XML files to JPA annotations. The annotated model looks like this:

@Table(name = "APP_USER")
public class User extends ...

2. new to play! Having trouble with: Please annotate your JPA model with @javax.persistence.Entity annotation

new to play and just trying to follow the video on: I'm coming so far that i want to create the list of tasks after creating the Task-class. I ...

3. Creating a simple user/group model with permissions with Hibernate (annotations)

This is most likely a very basic question, but nevertheless: Basically the User entity has an Id and a privilege enum. The group has an id and a name. I wonder how to model ...