Class JavaPlatform
- java.lang.Object
-
- org.eclipse.persistence.internal.helper.JavaPlatform
-
public class JavaPlatform extends java.lang.ObjectINTERNAL: 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
- See Also:
JDPlatform
-
-
Constructor Summary
Constructors Constructor Description JavaPlatform()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.BooleanconformLike(java.lang.Object left, java.lang.Object right)INTERNAL: An implementation of in memory queries with Like which uses the regular expression framework.static java.lang.BooleanconformRegexp(java.lang.Object left, java.lang.Object right)INTERNAL: An implementation of in memory queries with Regexp which uses the regular expression framework.static java.lang.StringgetStringAndFreeSQLXML(java.lang.Object sqlXml)INTERNAL: Casts the passed object to SQLXML and calls getString and free methodsstatic booleanisSQLXML(java.lang.Object object)INTERNAL: Indicates whether the passed object implements java.sql.SQLXML introduced in jdk 1.6
-
-
-
Method Detail
-
conformLike
public static java.lang.Boolean conformLike(java.lang.Object left, java.lang.Object right)INTERNAL: An implementation of in memory queries with Like which uses the regular expression framework.
-
conformRegexp
public static java.lang.Boolean conformRegexp(java.lang.Object left, java.lang.Object right)INTERNAL: An implementation of in memory queries with Regexp which uses the regular expression framework.
-
isSQLXML
public static boolean isSQLXML(java.lang.Object object)
INTERNAL: Indicates whether the passed object implements java.sql.SQLXML introduced in jdk 1.6
-
getStringAndFreeSQLXML
public static java.lang.String getStringAndFreeSQLXML(java.lang.Object sqlXml) throws java.sql.SQLExceptionINTERNAL: Casts the passed object to SQLXML and calls getString and free methods- Throws:
java.sql.SQLException
-
-