Hi Thomas,

> What you probably want is:
>
>     PreparedStatement s = conn.prepareStatement("select cast(? as other)");
>     s.setObject(1, "10", Types.OTHER);
>
> or simpler:
>
>     PreparedStatement s = conn.prepareStatement("select ?");
>     s.setObject(1, "10", Types.OTHER);

That looks interesting. I'll check that.

Thanks!
Lukas

-- 
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.

Reply via email to