Skip to content

executeQueryScalar and Oracle #111

Closed
@KristianSchmidt

Description

@KristianSchmidt

Hello

Doing a count on a table when using an Oracle DB results in an exception:
"Count returned something other than a 32 bit integer : System.Decimal "

The Oracle db library does this on purpose (see http://stackoverflow.com/questions/8539072/why-does-oledb-executescalar-method-return-decimal-when-querying-for-count ), so the issue is that the casting code in executeQueryScalar doesn't support converting a decimal to an int.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions