Paolo ponzano - 307 - Feb 25, 2014

Hello,
I’m using ORMLite to retrieve data from different DB, on a particular old one I’ve some columns that are char(512) and I’ve a lot of white spaces at the end of a string…is there a way of telling to ORMLite during the ConvertToList to trim them? Thanks

Dylan v.d Merwe:

Shouldn’t that be something you would do yourself instead of the framework?

paolo ponzano:

If I’ve to do myself I’ve for each DTO Created to trim the string again… I was wondering if there was something pluggable on ORMLite

There isn’t, you would have to trim them after you get them out of OrmLite.