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
Aliases do not carry proper metadata. #2981
base: master
Are you sure you want to change the base?
Aliases do not carry proper metadata. #2981
Conversation
any parameter metadata. Internally the type is unknown which is then mapped to 12 (VARCHAR).
Yeah, we don't support that kind of metadata at all. What is your broader use-case for this? |
Hi all, |
Current H2 (compiled from the current sources) provides this information in standard Unfortunately, only some DBMS support SQL/Schemata properly. |
On the other hand, callable statements have only very basic implementation in H2. They are rarely used, so nobody carried about their metadata. |
I think it would be helpful to think about this in the context of JDBC users and not H2 users. In my case, I use H2 as a placeholder for other databases and as a convenience during development. Saying that callable statements are rarely used in H2 might be true (how would you know?), but it is certainly not the case for the JDBC applications I see. |
This is entirely a volunteer developed project, with nobody being paid to work on H2. If you don't like it, feel free to use another project or do the necessary work yourself. |
I am surprised to see such a negative and dismissive attitude here, quite sad in fact. Over at Apache Commons, Apache HttpComponents, and Apache Log4j, where we are in the same FOSS boat, I'd like to think that I and my fellow volunteers do our best to welcome help, usually by asking for a pull request. Instead, what I read above is "go away". Nice touch. |
Add a failing test to show that an ALIAS to a Java method does not carry any parameter metadata. Internally the type is unknown which is then mapped to 12 (VARCHAR).
I'm not sure the best way to fix this. I am looking for help from the community here.