You can do something like:

    final Long[] messageIds = ...
    final String sqlQuery = "SELECT * FROM FROM FOO WHERE FOO.MessageID IN (SELECT 
ID FROM TABLE(ID BIGINT=?))";
    PreparedStatement ps = conn.prepareStatement(sSqlQuery);
    ps.setObject(1, messageIds );

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/ef5f40a4-1abd-8b93-2a28-0e3f84fb9d44%40gmail.com.

Reply via email to