Is it possible to add custom parameters to @SQLDelete override in Hibernate?
<p>Is it possible to add custom parameters to @SQLDelete override in Hibernate?  I don't want to have to edit Hibernate source code.  In the example below I am trying to include a lastUpdatedBy column in the delete query.</p>

<p>Thanks for any help.</p>

<pre><code>@Entity
@Table(name = "user")
@SQLDelete(sql = "UPDATE user SET deleted='Y', version=version+1 WHERE id=? AND version=? AND lastUpdatedBy = ?")
public class User  {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", unique = true, nullable = false)
    private Long id;

    @Column(name = "deleted")
    @Type(type = "yes_no")
    protected boolean deleted;

    @Version
    @Column(name = "version", nullable = false)
    protected Integer version;

    @Column(name = "last_updated_by")
    protected Long lastUpdatedBy;

    ...

}
</code></pre>