Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.java.programmer Subject: Can @embedded be notnullable Date: Wed, 02 Sep 2015 08:58:37 +0200 Organization: Decebal Computing Lines: 10 Message-ID: <87egihtihu.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="12936"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TMWoN6N3TaxegYcKG0/5HeUfyqOjUG1g=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Homepage: http://www.decebal.nl/ Cancel-Lock: sha1:UpOpJB12cFeUKCUn2TOGZ9V6FvE= sha1:ir0+4Uh+HZDzOk6YhXl/IbsP7VM= Xref: csiph.com comp.lang.java.programmer:32461 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? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof