[hibernate-dev] IRC Developer Meeting - 6/20

2013-06-20 Thread Steve Ebersole
http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2013/hibernate-dev.2013-06-20-15.01.html http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2013/hibernate-dev.2013-06-20-15.01.log.html http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2013/hibe

Re: [hibernate-dev] [Search] Why is global @AnalyzerDefs scanning limited to @Entity?

2013-06-20 Thread Guillaume Smet
Hi Sanne, On Thu, Jun 20, 2013 at 6:45 PM, Sanne Grinovero wrote: > Great, so maybe we should just do that. Yep, looks like a good idea and would be far cleaner. -- Guillaume ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.

Re: [hibernate-dev] [Search] Why is global @AnalyzerDefs scanning limited to @Entity?

2013-06-20 Thread Hardy Ferentschik
On 20 Jan 2013, at 6:22 PM, Guillaume Smet wrote: > Hi, > > We would like to declare our global @AnalyzerDefs on a class which > isn't a specific entity. > > For the @TypeDefs of Hibernate, we do it by declaring the @TypeDefs on > a class annotated with @MappedSuperClass but with @AnalyzerDefs

Re: [hibernate-dev] [Search] Why is global @AnalyzerDefs scanning limited to @Entity?

2013-06-20 Thread Sanne Grinovero
Great, so maybe we should just do that. BTW, slightly unrelated, but in the same style it always bothered me that @NamedQuery definitions need to be specified on entities. Granted they often relate to a specific entity, but not always, and in some cases they are better maintained close to their bu

Re: [hibernate-dev] [Search] Why is global @AnalyzerDefs scanning limited to @Entity?

2013-06-20 Thread Hardy Ferentschik
On 20 Jan 2013, at 6:39 PM, Sanne Grinovero wrote: > Hardy, while moving to Jandex would it be possible - and efficient - > for us to just find all @AnalyzerDefs on the user classpath (without > these necessarily needing to be mapped entities) ? Absolutely! --Hardy

Re: [hibernate-dev] [Search] Why is global @AnalyzerDefs scanning limited to @Entity?

2013-06-20 Thread Sanne Grinovero
Hi Guillame, reusing a @MappedSuperClass annotated entity sounds like a workaround rather than the proper solution. But I see your point on defining the global analyzers in a centralized place rather than have them scattered on entities; question is if we can do better? There is a property to def

[hibernate-dev] [Search] Why is global @AnalyzerDefs scanning limited to @Entity?

2013-06-20 Thread Guillaume Smet
Hi, We would like to declare our global @AnalyzerDefs on a class which isn't a specific entity. For the @TypeDefs of Hibernate, we do it by declaring the @TypeDefs on a class annotated with @MappedSuperClass but with @AnalyzerDefs, we are forced to declare them on a concrete @Entity. Is this an

[hibernate-dev] hibernate-delta

2013-06-20 Thread Gregor Zeitlinger
Hi, I've created https://github.com/txtr/hibernate-delta because I couldn't find a solution that would generate SQL update statements based on the fields that I added to my @Entity. The trick is that it stores the schema in an XML file that is commited to git. That way, you only get the differe