[英]setting type TIMESTAMPWITH TIME ZONE to JDBC callable statement
I search records in my oracle db 11g using search procedure. 我使用搜索过程在oracle db 11g中搜索记录。 I'd like to search by column whose type is TIMESTAMP WITH TIME ZONE.
我想按类型为TIMESTAMP WITH TIME ZONE的列进行搜索。
How could I set my Calendar object to JDBC Callable statement? 如何将Calendar对象设置为JDBC Callable语句? When I used standard oracle.sql.TIMESTAMPTZ class, mapped Calendar to it and tried to set it to JDBC, JDBC threw SQL exception - Illegal Conversion
当我使用标准的oracle.sql.TIMESTAMPTZ类,将Calendar映射到它并尝试将其设置为JDBC时,JDBC抛出了SQL异常-非法转换
thx:) 谢谢:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.