im using PopulateWithNonDefaultValues to populated my dataobject with my request properties.
They are having System.Uri as datatype but when populated they are populated as a string with “” around it.
RDBMS’s don’t have a Uri column type you should ideally be using a string on your Data models as otherwise it has to treat it as a complex type instead of a scalar string value.
Anyway I’ve added a test showing it’s saving/retrieving without issue in this commit, please include a stand-alone unit test I can run locally that shows the issue.
Hi,
it’s still are saved as " " around the filename in the database but when retrieving it back using ormlite it’s converted back to URI successfully without " " around it.
So it’s hard to create a unit test as you can only see the result i the DB and not when retrieving it back from DB using ormlite