Re: [hibernate-dev] Annotations patch for column read/write expressions (HHH-272)

2009-09-24 Thread Emmanuel Bernard
I think we should simply use a @o.h.a.Columns annotation to embed @o.h.a.Column annotations and place them on the same property the @j.p.Column is described. @Column(name="foo") @o.h.a.Column(appliesTo="foo", wrap="nsacrypt(?)") public String getPassword() { ... } @AttributeOverride(name="str

[hibernate-dev] Annotations patch for column read/write expressions (HHH-272)

2009-09-23 Thread Rob Hasselbaum
I'm working on an patch to expose HHH-272 functionality (custom column read and write expressions).in Annotations. At Steve and Emmanuel's request, I'm doing this by creating a new @o.h.a.Column annotation to supplement the @javax.persistence.Column annotation, similar to what's in place today for