-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Turkish Character Encoding Error
PostPosted: Sat Nov 26, 2005 1:02 pm 
Newbie

Joined: Sat Nov 26, 2005 11:07 am
Posts: 2
Hi all,

I am new in Nhibernate. I have downloaded WilsonNHibernateExample It is working well when I set English in Regional Options ( WinXP Pro ).

However If my Regional options is Turkish, I got this error:

Code:
Message: Could not find field 'ıd' in class 'Wilson.NHibernate.Example.Phone'

Source: NHibernate


StackTrace:    at NHibernate.Property.FieldAccessor.GetField(Type type, String fieldName, Type originalType) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Property\FieldAccessor.cs:line 92
   at NHibernate.Property.FieldAccessor.GetField(Type type, String fieldName, Type originalType) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Property\FieldAccessor.cs:line 99
   at NHibernate.Property.FieldAccessor.GetField(Type type, String fieldName, Type originalType) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Property\FieldAccessor.cs:line 99
   at NHibernate.Property.FieldAccessor.GetField(Type type, String fieldName) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Property\FieldAccessor.cs:line 118
   at NHibernate.Property.NoSetterAccessor.GetSetter(Type type, String propertyName) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Property\NoSetterAccessor.cs:line 68
   at NHibernate.Mapping.Property.GetSetter(Type clazz) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Mapping\Property.cs:line 199
   at NHibernate.Persister.AbstractEntityPersister..ctor(PersistentClass model, ISessionFactoryImplementor factory) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Persister\AbstractEntityPersister.cs:line 637
   at NHibernate.Persister.EntityPersister..ctor(PersistentClass model, ISessionFactoryImplementor factory) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Persister\EntityPersister.cs:line 930
   at NHibernate.Persister.PersisterFactory.CreateClassPersister(PersistentClass model, ISessionFactoryImplementor factory) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Persister\PersisterFactory.cs:line 40
   at NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, Settings settings) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Impl\SessionFactoryImpl.cs:line 145
   at NHibernate.Cfg.Configuration.BuildSessionFactory() in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Cfg\Configuration.cs:line 888
   at Wilson.NHibernate.Example.Global.Main() in c:\nhibernate\wilsonnhibernateexample\wilsonnhibernateexample\global.cs:line 28


I think error is related with Nhibernate. How can I fix this error?

Thanks for advance.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 28, 2005 8:27 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
Can you build a TestCase about this problem and attach it to a new JIRA issue? (http://jira.nhibernate.org/)

Try to set the culture programmatically to reproduce this issue...

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 30, 2005 11:17 am 
Newbie

Joined: Sat Nov 26, 2005 11:07 am
Posts: 2
Ok I will do this. Also, I have changed Nhibernate source code and rebuilt it and It work fine even with Turkish Regional Settings. I am going to send those as soon as possible.

Thanks for advance.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 30, 2005 2:31 pm 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
Added this as NH-480.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 01, 2005 6:08 am 
nacaroğlu

if you use the same character (i or I) everywhere there is no prolem.

selamlar.


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.