Re: [nhusers] Re: Oracle Driver issue with Win 2008 64 bit

2011-02-24 Thread Ying Guo
looking for 32 bit driver instead. Thank HTH help clear this out. Lesson learned: 32bit enable in IIS mode will run Web App in 32bit mode which from Nhibernate will look for 32bit driver. Exceptions could be miss leading. thanks. Ying On Thu, Feb 24, 2011 at 3:20 AM, turibbio wrote: > Hi Ying

Re: [nhusers] Re: Oracle Driver issue with Win 2008 64 bit

2011-02-23 Thread Ying Guo
you send me ur hibernate configuration? thanks Ying Guo On Wed, Feb 23, 2011 at 4:09 PM, turibbio wrote: > Hi Ying Guo, I've faced the same problem few days ago. > First of all, I've to clearify one thing, it is not an NHibernate > related problem! > Here is what work

[nhusers] Oracle Driver issue with Win 2008 64 bit

2011-02-23 Thread Ying Guo
When I trying to migrate into 2008 64bit I am getting the following exception System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Attempt to load Oracle client libraries threw BadImageFormatException. This

Re: [nhusers] Manage SessionFactory in classLibrary

2011-02-15 Thread Ying Guo
Using Singleton??? the following code is an example. Session is kept as local variable for each thread. Public Class HibernateSessionFactory Inherits LogBase Private Sub New() End Sub Public Shared Function getInstance() As HibernateSessionFactory SyncLock sync_lock If instance Is Nothing Th

Re: [nhusers] TimeStamp mapping with Oracle

2011-02-12 Thread Ying Guo
try this did not work. 2011-02-12 12:43:48,116 [10] DEBUG NHibernate.Type.StringType [(null)] - binding 'L6050100' to parameter: 0 2011-02-12 12:43:48,116 [10] DEBUG NHibernate.Type.TimestampType [(null)] - binding '12:43 PM' to parameter: 1 2011-02-12 12:43:48,116 [10] DEBUG NHibernate.Type.Stri

Re: [nhusers] Re: One-To-Many Mapping need help

2011-02-04 Thread Ying Guo
> > > > > > > > > > column="DOCUMENT_OCCURENCE_ID" type="Int32"/> > type="String"/> > > > > > > column="RECORD_CREATE_USER_ID" /> > &g

Re: [nhusers] Re: One-To-Many Mapping need help

2011-02-04 Thread Ying Guo
Here are my mapping files Parent: Child On Fri, Feb 4, 2011 at 2:40 PM, Ying Guo wrote: > thanks for the reply, however I do try this. And it does not seem to work > for me. > Won't through any exception however the collection is

Re: [nhusers] Re: One-To-Many Mapping need help

2011-02-04 Thread Ying Guo
thanks for the reply, however I do try this. And it does not seem to work for me. Won't through any exception however the collection is empty. For single key column seems working fine. so for this should these be database column name? On Fri, Feb 4, 2011 at 1:53 PM, Tim Hoolihan - @t