-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some ideas #62
Comments
Columns to Field mapping |
Hi Dimzon, Thank you very much for your suggestions. I will definitely take a look at ReflectASM. Maybe do a test to see how much performance will improve. As you suggest, I also think it is important to be able to fall back to using java reflection. I also agree that the QuirksMode solution is far from perfect. This is definitely open for improvements. I really like your suggestion; might be worth checking out. Your other suggestions are good too, will consider them as well. Thx! Regards |
I think it's closing time for this issue. |
Some refactorings must be done in compatibility-breaking version |
I agree. That is described in issue #83 . |
sorry for my poor english
I propose you to use ReflectASM or something like it for faster object creation and property assignment
this will allow to write third-party FieldSetters optimal for some JVM implementations
QuirksMode - this is really ugly (not Java-way) solution. Better way is to declare iterface
Quirks
and move all quirks-related code into interface methods. QuirksMode must implement this interface. This will allow to create third-partyQuirks
implementation for other databases|driversAPI - need easy API to invoke sql2o ResultSet->POJO code for someone who can't use sql2o "from the scratch" (sometimes you need to write code obtaining jdbc Connection or Statement or ResultSet from caller and you can't change caller code).
The text was updated successfully, but these errors were encountered: