1 /*
2  * Copyright (c) 2008, 2019 Oracle and/or its affiliates. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v. 2.0 which is available at
6  * http://www.eclipse.org/legal/epl-2.0,
7  * or the Eclipse Distribution License v. 1.0 which is available at
8  * http://www.eclipse.org/org/documents/edl-v10.php.
9  *
10  * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
11  */

12
13 // Contributors:
14 //     Linda DeMichiel - 2.1
15 //     Linda DeMichiel - 2.0
16
17 package javax.persistence;
18
19 /**
20  * Defines inheritance strategy options.
21  *
22  * @since 1.0
23  */

24 public enum InheritanceType { 
25
26     /** A single table per class hierarchy. */
27     SINGLE_TABLE, 
28
29     /** A table per concrete entity class. */
30     TABLE_PER_CLASS, 
31
32     /** 
33      * A strategy in which fields that are specific to a 
34      * subclass are mapped to a separate table than the fields 
35      * that are common to the parent class, and a join is 
36      * performed to instantiate the subclass.
37      */

38     JOINED 
39 }
40