Skip to main content

[jpa-spec issues] [JIRA] Assigned: (JPA_SPEC-42) Allow null @Embedded Objects

  • From: "ldemichiel (JIRA)" < >
  • To:
  • Subject: [jpa-spec issues] [JIRA] Assigned: (JPA_SPEC-42) Allow null @Embedded Objects
  • Date: Fri, 5 Apr 2013 00:21:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/JPA_SPEC-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ldemichiel reassigned JPA_SPEC-42:
----------------------------------

    Assignee: ldemichiel

> Allow null @Embedded Objects
> ----------------------------
>
>                 Key: JPA_SPEC-42
>                 URL: http://java.net/jira/browse/JPA_SPEC-42
>             Project: jpa-spec
>          Issue Type: Improvement
>            Reporter: reza_rahman
>            Assignee: ldemichiel
>            Priority: Minor
>
> At the moment, it is not possible to have null @Embedded objects in JPA 
> (while Hibernate, etc allow it). This is quite a common scenario in most 
> domain models that JPA should take into account. The following is an 
> example:
> <pre>
> public class Employee {
> ...
>    @Embedded(optional=true) // This should be possible since the employee 
> entity can be null in some
>                             // stages of it's life-cycle
>    private Address address;
> ...
> }
> </pre>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[jpa-spec issues] [JIRA] Assigned: (JPA_SPEC-42) Allow null @Embedded Objects

ldemichiel (JIRA) 04/05/2013
 
 
Close
loading
Please Confirm
Close