Oracle Float is mapped to Decimal instaed of double

Posts   
 
    
roland
User
Posts: 6
Joined: 23-Mar-2006
# Posted on: 24-Mar-2006 08:09:34   

Hi

I use LLBLGen on an Oracle 10gR2 DB and we now had Exceptions because the generated code casts an object (declared as 'object' but internally it is a double) to a decimal confused .

The db-field is defined as float.

In the debugger we see that internally this field is mapped to double but LLBLGen generates Entities which uses System.Decimal.

Shoul I write a converter or can I change the mappings used on Oracle types?

any hints?

thanks for any help

Roland