Heh, funny that you should mention it.
I am getting a Datatype mismatch in criteria expression.
This is with the stock FrameworkSample.
Application is finding the database fine.
Have you tested the latest code against the Framework sample?
I may still consider modifying the getOIDFactoryInstance to support more than just the COIDFactory; use an appropriate factory for either highlow or guids, based on the configuration file. That way the consumer can reference a single field for a persistent object reguardless of whether is a guid or not.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have scoured the source and examples to see how to use Guids instead of high low integers for OidValue.
Before I get crazy and create a new COIDFactory, is there something I am missing to use Guids as the oid?
DOH!
Well, at least it wasn't a rtfm issue.
<a href = "https://sourceforge.net/mailarchive/forum.php?thread_id=3790311&forum_id=23841">Answer Here</a>
So I'm guessing that you've got it working now :-)
Heh, funny that you should mention it.
I am getting a Datatype mismatch in criteria expression.
This is with the stock FrameworkSample.
Application is finding the database fine.
Have you tested the latest code against the Framework sample?
I may still consider modifying the getOIDFactoryInstance to support more than just the COIDFactory; use an appropriate factory for either highlow or guids, based on the configuration file. That way the consumer can reference a single field for a persistent object reguardless of whether is a guid or not.
Oh, bugger!
My lax testing bites me again :-(
I've fixed the problem (I assumed .NET would convert system types back to their proper native SQL types in parameters, but I was wrong).
You can get the fixes in CVS or download 0.1.4 again (I've refreshed the files).