C
Chris Morris
I'm working on a J++ conversion, and with the older ADO and the Java
WFC, we have methods like GetInt and GetString on Field classes that, by
default, convert NULLs to a default value.
J# -> .NET forces us into ADO.NET, and suddenly all these calls to Field
classes explode with a ClassCastException if the value is NULL -- no
conversion to a default value occurs.
I've mentioned this to a couple of people on weird occasions, and both
have mumbled something about being able to set something to change this
behavior. Is there such an option in ADO.NET?
WFC, we have methods like GetInt and GetString on Field classes that, by
default, convert NULLs to a default value.
J# -> .NET forces us into ADO.NET, and suddenly all these calls to Field
classes explode with a ClassCastException if the value is NULL -- no
conversion to a default value occurs.
I've mentioned this to a couple of people on weird occasions, and both
have mumbled something about being able to set something to change this
behavior. Is there such an option in ADO.NET?