Hi,
What version of H2 do you use? I can't reproduce the problem. My test case
below.
Regards,
Thomas
drop alias test;
create alias test as 'String test(String... args) {
return "len: " + args.length; }';
call test('a', 'b', 'c');
create alias test_rs as $$
import org.h2.tools.*;
import java.sql.*;
@CODE
ResultSet test_rs(Connection conn, String... args) {
SimpleResultSet rs = new SimpleResultSet();
rs.addColumn("len", Types.INTEGER, 0, 0);
rs.addRow(new Object[]{args.length});
return rs; }$$;
select * from test_rs('a', 'b', 'c');
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.