[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-411) @Generated(INSERT) properties does not update columns

Jae Cho (JIRA) noreply at atlassian.com
Thu Apr 26 21:24:04 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_26819 ] 

Jae Cho commented on ANN-411:
-----------------------------

I am seeing this problem in annotation jar version 3.2.0GA and 3.3.0GA. I used the below code which is cut and pasted from the manual

{code}
	@Temporal(TemporalType.TIMESTAMP)
	@Generated(GenerationTime.INSERT) @Column(insertable = false)
    protected Date m_inserttime;
	
	@Temporal(TemporalType.TIMESTAMP)
	@Generated(GenerationTime.ALWAYS) @Column(insertable = false, updatable = false)
	protected Date m_updatetime;
{code}

> @Generated(INSERT) properties does not update columns
> -----------------------------------------------------
>
>                 Key: ANN-411
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-411
>             Project: Hibernate Annotations
>          Issue Type: Bug
>          Components: binder
>    Affects Versions: 3.2.0.cr1
>            Reporter: Emmanuel Bernard
>            Assignee: Emmanuel Bernard
>             Fix For: 3.2.0.cr2
>
>


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