[nhusers] Re: Cant persist IList: NHibernate.MappingException : No persister for: System.String

2010-02-18 Thread JohnRudolfLewis
Nevermind. the problem was in the way that Fluent NHibernate's PersistenceSpecification test was interacting with the entity. Not sure what the bug is, but when I save the entity by directly calling session.Save, it works fine. On Feb 18, 6:56 pm, JohnRudolfLewis wrote: > In my enti

[nhusers] Cant persist IList: NHibernate.MappingException : No persister for: System.String

2010-02-18 Thread JohnRudolfLewis
In my entity class I have the following property: public virtual IList Tags { get; private set; } In my fluent nhibernate mapping file, I have the following mapping: HasMany(x => x.Tags) .Table("ProductTags") .Element("Tag") .AsBag(); Which r

[nhusers] NHibernate 2.1 and Oracle 10g client

2009-07-31 Thread JohnRudolfLewis
I am having trouble getting NHibernate 2.1 to work with Oracle Client 10g. I am getting Unable to cast object of type 'Oracle.DataAccess.Client.OracleConnection' to type 'System.Data.Common.DbConnection'. See http://stackoverflow.com/questions/1210037/error-with-nhibernate-2-1-and-oracle-10g-cl