Open ryanmmmmm opened 9 years ago
Thanks for the PR, @ryanmedlin.
I'll work on tidying this up a bit and adding unit tests in https://github.com/RJMetrics/sweet-liberty/tree/pr/3-ryanmedlin
@ryanmedlin Could you give an example of when (ffirst result)
would be nil?
should i close this pull request until i have the time to do a proper pull request with tests, etc.... its sortof in a weird shape and obviously not clear as to the intention of these different commits either.
For the (ffirst result)
this is when you do an insert and there is not autogenerated primary key the jdbc driver will not return anything getGeneratedKey() is called.
some of our tables use a UUID that is not generated on the database.
Fix: https://github.com/RJMetrics/sweet-liberty/issues/2 Signed-off-by: Ryan Medlin ryan.w.medlin@gmail.com