Java Reference
In-Depth Information
If you are willing to try this option, remember that you need to activate the Eclipse
JPA facet in your project, from
Project Properties
, as shown in the following screen-
shot:
Forge
, which discusses
JBoss Forge
, a powerful, rapid application-development
(aimed at Java EE 6) and project-comprehension tool.
Whatever your strategy, the expected outcome needs to conform to the following en-
tities. Here is the first one,
SeatType
, which maps the table
SEAT_TYPE
:
@Entity [1]
@Table(name="seat_type) [2]
public class SeatType implements Serializable {
@Id [3]
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Long id;
private String description;