Connection Properties for Linked Tables

21 views
Skip to first unread message

Nicholas Whitehead

unread,
Jul 30, 2015, 4:39:38 PM7/30/15
to H2 Database
Is there any way to specify JDBC connection properties when creating a linked table ?
I am trying to link to an Apache Phoenix database. A basic table is created with no issue, but I really need to create the link with a SQL statement.
However, the SQL statement uses a Phoenix User Defined Function and they are disallowed unless the connection is made with the connection property phoenix.functions.allowUserDefinedFunctions=true.

Thanks !

//Nicholas

Thomas Mueller

unread,
Jul 31, 2015, 3:27:32 AM7/31/15
to h2-da...@googlegroups.com
Hi,

No, but you could write your own JDBC driver that internally calls this JDBC driver.

Regards,
Thomas
--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2-database...@googlegroups.com.
To post to this group, send email to h2-da...@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Nicholas Whitehead

unread,
Jul 31, 2015, 6:35:23 AM7/31/15
to h2-da...@googlegroups.com

Ah... Good one. I also realized there's support for using a jndi look up. Is this implicitly a data source ?

You received this message because you are subscribed to a topic in the Google Groups "H2 Database" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/h2-database/GthyIvksKZU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to h2-database...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages