Hi, All! At first, excuse me for my baaaad english. :(
I've got the following problem:
There is two almost similar db'ses: first - Oracle DB, second - MS SQL DB.
Most persistent classes, of course, has public virtual string Id.
Tables in MS SQL has uniqueidentifier OBJECTID
Tables in Oracle has NOW raw16 (at the beginning of the DB developing there was some type, compliant with system.string class properties, and all runned well) OBJECTID, corresponding to Id in persistent class.
Now I must do something to make new Oracle DB and MS SQL db both work with some kind of mapping.
Now, when I'm trying to fill type with such a property from Oracle I'm gettin', f. eX., about 1500 entities with "System.Byte[]" in the place of Id value.
HHAAAAALLPP!!!
PS: I'm new in NHiber, and never worked with Oracle, so links on any applicable, maybe wide and describing related context materials would be pretty useful.
|