| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> |
| |
| <meta http-equiv="Content-Style-Type" content="text/css" /> |
| <meta http-equiv="Content-Script-Type" content="text/javascript" /> |
| <title>JPA diagram editor partial support for JPA 2.0</title> |
| |
| <!-- contents --> |
| </head> |
| <body> |
| |
| <div class="sect1"> |
| <!-- infolevel="all" infotype="General" --> |
| <h1>JPA diagram editor partial support for JPA 2.0</h1> |
| <td><div> |
| <ul> |
| <li><p> |
| The JPA diagram editor supports the new style <i>One-to-Many</i> |
| unidirectional relationship. It means that in JPA 2.0 projects |
| the corresponding relationship attribute will be created with |
| additional |
| <tt title="Output">@JoinColumns(s)</tt> |
| annotation, so that the corresponding DB schema will be created |
| without additional join table. |
| </p> |
| </li> |
| </ul> |
| </div> |
| <div> |
| <p> |
| <b>Note:</b> |
| </p> |
| <p> |
| This behavior is optional. You may choose from the editor |
| preference page or project property page to create this |
| relationship (in JPA 2.0 projects) compliant with JPA 1.0 |
| specification, i.e. - without the additional |
| <tt title="Output">@JoinColumns(s)</tt> |
| annotation. |
| </p> |
| </div></td> |
| </div> |
| </body> |
| </html> |
| |