Class JavaPlatform
- java.lang.Object
-
- org.eclipse.persistence.internal.helper.JavaPlatform
-
public class JavaPlatform extends Object
INTERNAL: JavaPlatform abstracts the version of the JDK we are using. It allows any operation which is dependent on JDK version to be called from a single place and then delegates the call to its JDKPlatform- Author:
- Tom Ware
-
-
Constructor Summary
Constructors Constructor Description JavaPlatform()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Boolean
conformLike(Object left, Object right)
INTERNAL: An implementation of in memory queries with Like which uses the regular expression framework.static Boolean
conformRegexp(Object left, Object right)
INTERNAL: An implementation of in memory queries with Regexp which uses the regular expression framework.static String
getStringAndFreeSQLXML(Object sqlXml)
INTERNAL: Casts the passed object to SQLXML and calls getString and free methodsstatic boolean
isSQLXML(Object object)
INTERNAL: Indicates whether the passed object implements java.sql.SQLXML introduced in jdk 1.6
-
-
-
Method Detail
-
conformLike
public static Boolean conformLike(Object left, Object right)
INTERNAL: An implementation of in memory queries with Like which uses the regular expression framework.
-
conformRegexp
public static Boolean conformRegexp(Object left, Object right)
INTERNAL: An implementation of in memory queries with Regexp which uses the regular expression framework.
-
isSQLXML
public static boolean isSQLXML(Object object)
INTERNAL: Indicates whether the passed object implements java.sql.SQLXML introduced in jdk 1.6
-
getStringAndFreeSQLXML
public static String getStringAndFreeSQLXML(Object sqlXml) throws SQLException
INTERNAL: Casts the passed object to SQLXML and calls getString and free methods- Throws:
SQLException
-
-