-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Custom PropertAccessor Hibernate 4.1.1
PostPosted: Mon Apr 23, 2012 3:58 am 
Newbie

Joined: Mon Apr 23, 2012 3:43 am
Posts: 2
Hi,

I'm trying to migrate from Hibernate 3.5.6 to 4.1.1. Faced with several problems one of them is that @AccessType is not working. My custom Getters nad Settors are not called at anytime.

Code example:
Code:
@NotNull
    @Size(min = PASSWORD_MIN_SIZE, max = MAX_SIZE)
    @Pattern(regexp = "((?=.*\\d)(?=.*[a-zA-Zа-.А-.]).*)",
      message = "{javax.validation.constraints.Pattern.password.message}")
    @Column(name = "user_password", nullable = false)
    @AccessType(value = "com.utils.PasswordPropertyAccessor")
    private String password;


The similar topic was discussed here https://forum.hibernate.org/viewtopic.php?f=1&t=1008423&p=2438896&hilit=accesstype#p2438896 but there is no reply.


Top
 Profile  
 
 Post subject: Re: Custom PropertAccessor Hibernate 4.1.1
PostPosted: Wed May 02, 2012 4:46 am 
Newbie

Joined: Mon Apr 23, 2012 3:43 am
Posts: 2
Hello colleagues,

The help is highly appreciated!

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.