Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Issues List »

[hibernate-issues] [Hibernate-JIRA] Created: (ANN-759) @NotFound(
action = NotFoundAction.IGNORE ) doesn't behave as expected.

Anupam M (JIRA)

2008-07-31


Author LoginPost Reply
@NotFound( action = NotFoundAction.IGNORE ) doesn't behave as expected.
-----------------------------------------------------------------------

          Key: ANN-759
          URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-759
        Project: Hibernate Annotations
      Issue Type: Bug
       Reporter: sam doyle


This scenario causes still results in an ENFE when applied to the method.

@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY, optional = false)
@PrimaryKeyJoinColumn
@NotFound( action = NotFoundAction.IGNORE )
public X get()

Invoking this method can still result in an ENFE being raised?? Is there specific cases I should know about when this works and does not work? It isn't documented.

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

   
_______________________________________________
hibernate-issues mailing list
hibernate-issues@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-issues
©2008 gg3721.com - Jax Systems, LLC, U.S.A.