-->
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: Validator ( method not found)
PostPosted: Fri Aug 29, 2014 11:09 am 
Newbie

Joined: Fri Aug 29, 2014 10:57 am
Posts: 2
Hi Masters from Hibernate,



I use this source code to init Validator engine:
Code:
...
            ValidatorEngine engine = new ValidatorEngine();
            engine.Configure( );
            KS.Global.Validator = engine;
            ValidatorInitializer.Initialize(cfg, engine);
...
          


Problem: When I commit transactions, I get this message error:

Code:
Method not found: 'NHibernate.Engine.ISessionImplementor NHibernate.Event.AbstractPreDatabaseOperationEvent.get_Source()'.



previously, I did not have this problem with NHIBERNATE 3.3.3GA. My actual version of NH is 4.0.0GA.

How I fix this problem? ( My searches in the documentation failed )




Best regards.
dragonavenger


Top
 Profile  
 
 Post subject: Re: Validator ( method not found)
PostPosted: Fri Aug 29, 2014 2:59 pm 
Newbie

Joined: Fri Aug 29, 2014 10:57 am
Posts: 2
Problem Fixed:

I needed to delete the file nhvalidator.cfg.xml.


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.