Aliases do not carry proper metadata.#2981
Conversation
any parameter metadata. Internally the type is unknown which is then mapped to 12 (VARCHAR).
|
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. |

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.