[hibernate-dev] Hibernate 3.3 and "hibernate.ejb.resource_scanner" property...

2011-08-19 Thread Scott Marlow
Does Hibernate 3.3 have anything like "hibernate.ejb.resource_scanner" and org.hibernate.ejb.packaging.Scanner? For annotation scanning, I would like to be in control of the file i/o (so I can scan for annotations with Jandex). Thanks, Scott ___ hibe

[hibernate-dev] @ForceDiscriminator / HHH-4358

2011-08-19 Thread Steve Ebersole
https://hibernate.onjira.com/browse/HHH-4358 The reporter makes a point that in JPA usage, forcing the discriminator should probably be the default behavior. There was really no information on the original issue to agree/disagree with that statement. And to be honest I do not know what specifi

[hibernate-dev] HSEARCH-851 Make Avro an optional dependency, good idea?

2011-08-19 Thread Emmanuel Bernard
There are unforeseen consequences to making Avro an optional dependency. By doing that, I must make the SerializerProvider build process lazy or tolerant at Runtime if Avro is not here. The problem with this approach is that if a user forgets to add Avro as a dependency, his system will fail the

Re: [hibernate-dev] classloading issue when trying to add envers to as7

2011-08-19 Thread Adam Warski
Great to hear that :) Thanks for the effort! Adam On Aug 19, 2011, at 4:51 AM, Strong Liu wrote: > okay, https://issues.jboss.org/browse/AS7-928 is resolved and will be > released in AS7 7.0.2, finally :) > > I will write a doc along with > https://docs.jboss.org/author/display/AS7/JPA+Refer

Re: [hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-19 Thread Davide D'Alto
This is the configuration of the surefire plugin when I run maven in debug mode: [DEBUG] Configuring mojo org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-surefire-plugin:2.7.2, parent: sun.misc.Launcher$AppClassLoader@123

Re: [hibernate-dev] classloading issue when trying to add envers to as7

2011-08-19 Thread Scott Marlow
+1 On 08/18/2011 10:51 PM, Strong Liu wrote: > okay, https://issues.jboss.org/browse/AS7-928 is resolved and will be > released in AS7 7.0.2, finally :) > > I will write a doc along with > https://docs.jboss.org/author/display/AS7/JPA+Reference+Guide > > --- > Strong Liu > http://hibern

Re: [hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-19 Thread Hardy Ferentschik
Hi, first of all your execution order is completely different. Looking a little bit deeper into it I noticed that my execution order is alphabetical which is expected since surefire 2.7 (http://jira.codehaus.org/browse/SUREFIRE-321). Assuming alphabetical ordering is not broken on your machin

Re: [hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-19 Thread Davide D'Alto
The following are the information of the machine I'm using right now CentOS release 5.5 (Final) Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+) Java version: 1.6.0_27, vendor: Sun Microsystems Inc. Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "2.6.18-194.32.1.

Re: [hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-19 Thread Hardy Ferentschik
Hi, for all it's worth, the build is working fine for me as well. What OS, JVM and maven version are you using? I am asking, because this might influence the order in which the tests are executed. There might be some interdependencies between tests (and some failing cleanup) which only occurs

Re: [hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-19 Thread Davide D'Alto
It seems it fails only if I execute it among all the other tests. It works if I run mvn test -Dtest=org.hibernate.search.test.engine.optimizations.CollectionUpdateEventTest On Fri, Aug 19, 2011 at 10:14 AM, Sanne Grinovero wrote: > I'm puzzled, but will need more clues. > > # short answer > N

Re: [hibernate-dev] [Search] proposing an alternative to depth in @IndexedEmbedded

2011-08-19 Thread Hardy Ferentschik
Hi, I am not sure I understand the suggested path parameter. Taking the example from the forum: class A{ @IndexEmbedded( paths={"d.one", "d.two"} ) private C see; } class B{ @IndexEmbedded( paths={"foo", "d.two"} ) private C see; } class C{ @Index

Re: [hibernate-dev] [Search] CollectionUpdateEventTest fails

2011-08-19 Thread Sanne Grinovero
I'm puzzled, but will need more clues. # short answer No, no special options are required. # more details Only two categories of tests require special care: Byteman Some tests need the Byteman agent running, but this is taken care of by Maven (but is not configuring the IDE automagically) JGrou

[hibernate-dev] [Search] proposing an alternative to depth in @IndexedEmbedded

2011-08-19 Thread Sanne Grinovero
Hi all, I just noticed this proposal on the forum: https://forum.hibernate.org/viewtopic.php?f=9&t=1012303 I think it's very reasonable, as people don't usually care for the depth but for the fields they can or can not search. In addition to a better API, for the sake of the Query Parser somethin