Skip to content
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

getFromMap is required for H2 database #14

Open
pmularien opened this issue May 14, 2014 · 1 comment
Open

getFromMap is required for H2 database #14

pmularien opened this issue May 14, 2014 · 1 comment

Comments

@pmularien
Copy link

Thank you for the great work here, you've provided a very comprehensive set of exercises for folks to learn!

I ran into an issue with the H2 database. H2 always reports map keys (and columns) in uppercase, and as such, many of the map.get calls that are in the koans do not work as-is. Instead, getFromMap is required to normalize the case in the map key names. Any chance you've thought about this, or we could discuss a potential fix?

@quux00
Copy link
Owner

quux00 commented May 16, 2014

Hi - thanks for the compliment :-)

In terms of the H2 issue, I'm not clear what you are asking. When I run the completed koans they all pass. I had to use getFromMap, as you say, in two koans (02 and 26) to overcome this issue. Are you seeing that some of the completed koans are not passing?

When you say discuss a potential fix, do you mean a fix to the koans or to MyBatis (or H2) itself? If the latter, I'm not on the MyBatis committer team. If the former, I did discuss a few alternatives in this StackOverflow posting a while back: http://stackoverflow.com/a/11732674/871012.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants