Skip to main content

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

  • From: "reza_rahman (JIRA)" < >
  • To:
  • Subject: [jpa-spec issues] [JIRA] Created: (JPA_SPEC-42) Allow null @Embedded Objects
  • Date: Thu, 17 Jan 2013 02:23:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated

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
            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] Created: (JPA_SPEC-42) Allow null @Embedded Objects

reza_rahman (JIRA) 01/17/2013
 
 
Close
loading
Please Confirm
Close