Hi,
forwarding this email to hibernate-dev to get some more feedback.
Here are some of my thoughts. The method level validation is suggested in
Appendix C of the Bean Validation specification. The method signatures
there all return a set of ConstraintViolations.
The question is how binding th
Could anyone provide me with links to any guidance docouments/articles on
creating a dialect? I have a fairly non standard database that I need to
hook into any guidance would be greatly appreciated.
Thanks,
Norm
___
hibernate-dev mailing list
hibernate-
Hey guys,
I've implemented
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4510 and
committed it. It basically looks like that
@Entity
class CreditCard {
@Column(name="credit_card_num")
@ReadWriteExpression(
forColumn="credit_card_num",
read="decrypt(credit_card_
I am not happy about @ReadWriteExpression either. Why not just
@ReadExpression and @WriteExpression? I don't even think you need the
forColumn attribute -- it could be derived out of the metadata.
On Mon, Sep 27, 2010 at 5:10 PM, Emmanuel Bernard
wrote:
> Hey guys,
> I've implemented
> http://op
Currently there is a big discrepancy between the documentation for some
of the methods on org.hibernate.Transaction and the actual code.
Specifically the methods isActive(), wasRolledBack() and wasCommitted()
explicitly state that they only account for the "local state" of the
transaction object, n
@Wrapper(
forColumn="credit_card_num",
read="decrypt(credit_card_num)",
write="encrypt(?)"
)
@ReadWrapper( forColumn="credit_card_num",
expression="decrypt(credit_card_num)" )
@WriteWrapper( forColumn="credit_card_num", expression="encrypt(?)" )
On Tue, 2010-09-28 at 00:10 +0200
Is the 'forColumn' attribute required if a single column value?
On Mon, 2010-09-27 at 22:53 -0500, Steve Ebersole wrote:
> @Wrapper(
> forColumn="credit_card_num",
> read="decrypt(credit_card_num)",
> write="encrypt(?)"
> )
>
> @ReadWrapper( forColumn="credit_card_num",
> express