Re: [hibernate-dev] @StaticMetamodel binding

2010-03-30 Thread Steve Ebersole
BTW, I see the TODO now. Thinking about this some more, I think the TODO is more than just a nice too have. I think it is absolutely needed. The actual use-case (from which the JIRA test was distilled) uses property generation (@org.hibernate.annotations.Generated). If I understand correctly

Re: [hibernate-dev] Translate Hibernate Core Documentation to Spanish

2010-03-30 Thread Steve Ebersole
Sorry I should have responded on here. The general process is to begin editing the PO files for the translation (there is already a spanish translation). If you are unfamiliar with PO files, they are defined by the GNU Gettext project which is a long standing means to perform translations. Se

Re: [hibernate-dev] @StaticMetamodel binding

2010-03-30 Thread Steve Ebersole
Ideally a isSynthetic() check is best. It's what I considered first. However I tend to stay away from changing these mapping classes as historically I have sometimes screwed up Max and other mapping package consumers in ways I totally did not expect. Max, do you see any potential issue with th

Re: [hibernate-dev] hibernate. vs org.hibernate. for properties prefix

2010-03-30 Thread Emmanuel Bernard
I've decided to not pursue. lockMode and flushMode are actually QueryHints and not startup time properties. So to follow existing conventions, it makes sense for them to be prefixed with org.hibernate On 22 mars 2010, at 14:27, Emmanuel Bernard wrote: > On Hibernate EntityManager: > - Available

Re: [hibernate-dev] the raise of the new spammer generation

2010-03-30 Thread Sanne Grinovero
2010/3/30 Emmanuel Bernard : > If you think these posts are too frequent then go ahead and disable links on > the footer. > We need to make sure this does not disable accounts who have links on their > footers. > I don't know how that would work, as it's not happening recently we can wait and see

Re: [hibernate-dev] @StaticMetamodel binding

2010-03-30 Thread Emmanuel Bernard
Your reading is correct. We create a synthetic property that we use to populate the *-to-one property-ref element. The reason behind it is that JPA is more flexible than Core and allow to reference columns instead of properties. This could lead to reference columns coming from different properti

Re: [hibernate-dev] Exceptions thrown in a tx synchronization are eaten

2010-03-30 Thread Emmanuel Bernard
I tend to agree. The problem today is that you cannot forward / signal the exception to the upper levels. In an ideal world, a Synchronization should swallow exceptions (or do whatever it wants with it) if the exception should not tamper with the main Hibernate execution. In a word, Synchroniza

Re: [hibernate-dev] Translate Hibernate Core Documentation to Spanish

2010-03-30 Thread Emmanuel Bernard
Hello, Somebody asked the same question about two months ago. Maybe you want to sync with him as well. Here are links to the thread on how to do the translation: http://lists.jboss.org/pipermail/hibernate-dev/2010-February/004844.html http://lists.jboss.org/pipermail/hibernate-dev/2010-February/

Re: [hibernate-dev] [HV] Supporting Joda Time API with @Past/@Future

2010-03-30 Thread Emmanuel Bernard
I like the idea. Initially we've decided to not add them and were waiting for the JSR-310. do you know the status and expected release? The main problem I see is that we would likely use the same annotations for both joda and the jsr-310. We could think of using @Constraint and use two validato

Re: [hibernate-dev] the raise of the new spammer generation

2010-03-30 Thread Emmanuel Bernard
If you think these posts are too frequent then go ahead and disable links on the footer. We need to make sure this does not disable accounts who have links on their footers. On 24 mars 2010, at 22:36, Sanne Grinovero wrote: > Hi all, > as I mentioned recently, it often happens that new forum ac