[Hibernate-JIRA] Created: (HHH-4653) Setting the "referencedColumnName" in @JoinColumnOrFormula throws an NPE
by Edgar Espina (JIRA)
Setting the "referencedColumnName" in @JoinColumnOrFormula throws an NPE
------------------------------------------------------------------------
Key: HHH-4653
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4653
Project: Hibernate Core
Issue Type: Bug
Components: annotations
Affects Versions: 3.5.0-Beta-2
Environment: Hibernate-3.5.0-Beta-2
MySQL 5.1.37-1ubuntu5
Reporter: Edgar Espina
Attachments: Ejb3JoinColumn.java.patch, joinColumnOrFormula.zip
Setting the "referencedColumnName" in @JoinColumnOrFormula throws an NPE at startup time.
Exception in thread "main" java.lang.NullPointerException
at org.hibernate.cfg.Ejb3JoinColumn.overrideFromReferencedColumnIfNecessary(Ejb3JoinColumn.java:574)
at org.hibernate.cfg.annotations.TableBinder.bindFk(TableBinder.java:332)
at org.hibernate.cfg.ToOneFkSecondPass.doSecondPass(ToOneFkSecondPass.java:111)
at org.hibernate.cfg.AnnotationConfiguration.processEndOfQueue(AnnotationConfiguration.java:502)
at org.hibernate.cfg.AnnotationConfiguration.processFkSecondPassInOrder(AnnotationConfiguration.java:484)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:334)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1359)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:858)
at hibernateproofofconcept.Hibernate_3_5.main(Hibernate_3_5.java:16)
A maven project is attached for testing purpose.
I created a patch that fix the problem.
Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 3 months
[Hibernate-JIRA] Created: (HV-227) hibernate validator message for turkish locale
by Firat KUCUK (JIRA)
hibernate validator message for turkish locale
----------------------------------------------
Key: HV-227
URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-227
Project: Hibernate Validator
Issue Type: Patch
Affects Versions: 4.0.0.CR1
Reporter: Firat KUCUK
Attachments: DefaultValidatorMessages_tr.properties
validator.assertFalse=ifadesi hata döndürdü!
validator.assertTrue=ifadesi hata döndürdü!
validator.future=ileriki bir tarih olmalı!
validator.length=uzunluğu {min} ve {max} arasında olmalıdır!
validator.max={value} değerine eşit veya daha küçük olmalıdır!
validator.min={value} değerine eşit veya daha büyük olmalıdır!
validator.notNull=null değer alamaz!
validator.past=geçmiş bir tarih olmalı!
validator.pattern="{regex}" ifadesi ile örtüşmüyor!
validator.range={min} ve {max} arasında olmalıdır!
validator.size=boyut olarak {min} ve {max} arasında olmalıdır!
validator.email=düzgün biçimli bir e-posta adresi değil!
validator.notEmpty=null veya boş değer alamaz!
validator.digits=numerik değil (<{integerDigits} digits>.<{fractionalDigits} digits> bekleniyor!)
validator.creditCard=Geçerli kredi kartı numarası değil!
validator.ean=Geçerli bir EAN değil!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 3 months