org.apache.openjpa.kernel.Filters.parseJDBCTemporalSyntax()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(86)

本文整理了Java中org.apache.openjpa.kernel.Filters.parseJDBCTemporalSyntax()方法的一些代码示例,展示了Filters.parseJDBCTemporalSyntax()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Filters.parseJDBCTemporalSyntax()方法的具体详情如下:
包路径:org.apache.openjpa.kernel.Filters
类名称:Filters
方法名:parseJDBCTemporalSyntax

Filters.parseJDBCTemporalSyntax介绍

[英]Parses the given string assuming it is a JDBC key expression. Extracts the data portion and based on the key, calls static java.sql.Date/Time/Timestamp.valueOf(String) method to convert to a java.sql.Date/Time/Timestamp instance.
[中]假设给定字符串是JDBC键表达式,则解析该字符串。提取数据部分并基于键调用静态java。sql。日期/时间/时间戳。valueOf(String)方法转换为java。sql。日期/时间/时间戳实例。

代码示例

代码示例来源:origin: org.apache.openjpa/openjpa-all

Object temporal = parseJDBCTemporalSyntax(o.toString());
if (temporal != null && type.isAssignableFrom(temporal.getClass()))
  return temporal;

代码示例来源:origin: org.apache.openjpa/openjpa-kernel

Object temporal = parseJDBCTemporalSyntax(o.toString());
if (temporal != null && type.isAssignableFrom(temporal.getClass()))
  return temporal;

代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel

Object temporal = parseJDBCTemporalSyntax(o.toString());
if (temporal != null && type.isAssignableFrom(temporal.getClass()))
  return temporal;

代码示例来源:origin: org.apache.openejb.patch/openjpa

Object temporal = parseJDBCTemporalSyntax(o.toString());
if (temporal != null && type.isAssignableFrom(temporal.getClass()))
  return temporal;

相关文章