[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6233) Resolve how DiscriminatorBindingState impls determine setting for isInserted

Gail Badner (JIRA) noreply at atlassian.com
Tue May 17 19:46:24 EDT 2011


Resolve how DiscriminatorBindingState impls determine setting for isInserted
----------------------------------------------------------------------------

                 Key: HHH-6233
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6233
             Project: Hibernate Core
          Issue Type: Bug
            Reporter: Gail Badner
            Assignee: Gail Badner


>From Hardy:

> I am not sure whether this is semantically correct or not. 
> The documentation to org.hibernate.annotation.DiscriminatorOptions 
> says

>    Set this to false, if your discriminator column is also part 
>    of a mapped composite identifier.It tells Hibernate not to include 
>    the column in SQL INSERTs.

> Now you have overridden insertable. If this is true than you don't 
> need this getter, but I don't think that these are the same options

In pull request https://github.com/hibernate/hibernate-core/pull/80, isInsertable() is gone.

I need to revisit whether DiscriminatorBindingState.isInsertable() is needed.

-- 
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

        


More information about the hibernate-issues mailing list