[hibernate-dev] HHH-6942 - Envers Collection revision entries don't include deletes on detached entity saveOrUpdate

2012-01-26 Thread Ɓukasz Antoniak
Hi all! Lately I have been working on HHH-6942 JIRA issue. Envers behaves differently when detached object is updated with new collection and persisted by invoking Session.merge() or Session.saveOrUpdate() methods. SQL statements executed by Session.merge(): 14:53:47,031 DEBUG SQL:104 - select

Re: [hibernate-dev] Some files are missing from hibernate-validator-4.2.0.Final-sources.jar

2012-01-26 Thread Snjezana Peco
Thanks for the answer. It seems that only the org.hibernate.validator.jtype package is missing. I have created a plugin that automatically opens source files when debugging a JBoss AS server. The plugin can't find source for the classes in this package. Best regards, Snjeza Gunnar Morling wrote

Re: [hibernate-dev] Some files are missing from hibernate-validator-4.2.0.Final-sources.jar

2012-01-26 Thread Gunnar Morling
Hi, JType is actually an external API [1] which sources are not part of the HV code base. As of HV 4.2 JType is shaded into HV to org.hibernate.validator.jtype.* during the build using the Maven shade plugin [1]. So for the sources you'd have to inspect the original JType sources. For HV 4.3 we'r

[hibernate-dev] Some files are missing from hibernate-validator-4.2.0.Final-sources.jar

2012-01-26 Thread Snjezana Peco
Hello, I have been working on https://issues.jboss.org/browse/JBIDE-9309 - Easily adding full JBoss AS source. I have noticed that hibernate-validator-4.2.0.Final-sources.jar doesn't contain all Java source files. The complete org.hibernate.validator.jtype package is missing, for instance. Coul

Re: [hibernate-dev] Proxies and typing

2012-01-26 Thread Eric Dalquist
Perhaps an overloaded method for those that want generics and proxies? public T load(Class entityType, Class proxyType, ...) It is kinda gross and results in higher level code knowing about the proxies but it would work for those people that are using proxyClass without having to make lower

Re: [hibernate-dev] mutable versus immutable natural keys

2012-01-26 Thread Eric Dalquist
After our conversion in IRC I think the latest iteration of the idea having the following would suffice: public @interface NaturalId { /** * If the NaturalId can change, either via the application or direct database manipulation */ boolean mutable() default fals

Re: [hibernate-dev] Test

2012-01-26 Thread Sanne Grinovero
works! welcome On 26 January 2012 13:26, Eric Dalquist wrote: > Sorry for the spam, having subscription problems. > ___ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev ___

[hibernate-dev] Test

2012-01-26 Thread Eric Dalquist
Sorry for the spam, having subscription problems. ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Using SOLR with indexing/search Server

2012-01-26 Thread Anderson vasconcelos
Hi Hardy HIbernate provide what i need to search/indexing. But In SOLR scalability feature is more transparent and i dont have to implements JMS Queue or something to synchronized master with slaves. Also, solr provides multicore feature, where i can put many index in one instance of SOLR. Our tea

Re: [hibernate-dev] Using SOLR with indexing/search Server

2012-01-26 Thread Hardy Ferentschik
On Jan 26, 2012, at 3:01 AM, Anderson vasconcelos wrote: > Hi Hardy, Thanks for the reply. > I Wanna use HIbernate Search, because it has a lot of features that SOLRJ > doesn't have, like embebed objects mapping, easy way to call search (because > is similar to create HQL query) and easy way t