Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32484
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Can @embedded be notnullable |
| Date | 2015-09-03 00:49 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <ms8jgb$o6$1@dont-email.me> (permalink) |
| References | <87egihtihu.fsf@Equus.decebal.nl> |
On 09/02/2015 02:58 AM, Cecil Westerhof wrote: > I am busy getting grips of JPA. When defining @Column you can use: > nullable = false > > But it looks like you can not use this with @Embedded. Am I > overlooking something? > A quick look at the Embeddable javadoc shows no optional or required elements. The first web hit for jpa+@Embeddable: <https://en.wikibooks.org/wiki/Java_Persistence/Embeddables#Nulls> suggests some extensions around the issue.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Can @embedded be notnullable Cecil Westerhof <Cecil@decebal.nl> - 2015-09-02 08:58 +0200 Re: Can @embedded be notnullable Jeff Higgins <jeff@invalid.invalid> - 2015-09-03 00:49 -0400
csiph-web