[hibernate-dev] [Bean Validation] Adding interpolation facilities

2009-03-07 Thread Emmanuel Bernard
What do you think of public class ConstraintValidatorContext { addInterpolatedParameter(String name, String value); } public class SyntaxValidator implements ConstraintValidatorString> { public boolean isValid(String value, ConstraintValidatorContext context) { detectedSyntax =

[hibernate-dev] Re: HSearch : new feature "blackhole" backend

2009-03-07 Thread Emmanuel Bernard
ok Not sure if perf testing is relevant though :) On Mar 7, 2009, at 08:15, Sanne Grinovero wrote: Hi, I've implemented a really trivial new backend (can be configured to replace the jms or lucene backends) called "blackhole" as the same named MySQL engine (http://dev.mysql.com/doc/refman/5.0/

Re: [hibernate-dev] HSearch : new feature "blackhole" backend

2009-03-07 Thread Hardy Ferentschik
+ 1 from me for a blackhole ;-) On Sat, 07 Mar 2009 14:15:00 +0100, Sanne Grinovero wrote: Hi, I've implemented a really trivial new backend (can be configured to replace the jms or lucene backends) called "blackhole" as the same named MySQL engine (http://dev.mysql.com/doc/refman/5.0/en/bl

Re: [hibernate-dev] HHH-3225 is hitting Hibernate Search

2009-03-07 Thread Emmanuel Bernard
We discussed the issue with Sanne and for Hibernate Search we have a workaround solution that does not penalize Hibernate Core. This solution can be applied by everybody but it's not the easiest thing on Earth. The idea is to queue as you said but inside custom event listeners. In our cas

[hibernate-dev] HSearch : new feature "blackhole" backend

2009-03-07 Thread Sanne Grinovero
Hi, I've implemented a really trivial new backend (can be configured to replace the jms or lucene backends) called "blackhole" as the same named MySQL engine (http://dev.mysql.com/doc/refman/5.0/en/blackhole-storage-engine.html). It doesn't to anything :-P , and that's why it's useful! When replac

Re: [hibernate-dev] HHH-3225 is hitting Hibernate Search

2009-03-07 Thread Sanne Grinovero
Hi, I've built a testcase for HSEARCH-178 (the loading collections in flush issue). It succeeds when using a transaction, and fails with AssertionFailure when not using one. I've noticed that people reporting this problem (among others http://forum.hibernate.org/viewtopic.php?p=2381840) actually