Module org.eclipse.persistence.core
Class JavaPlatform
java.lang.Object
org.eclipse.persistence.internal.helper.JavaPlatform
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
INTERNAL: Indicates whether the passed object implements java.sql.SQLXML introduced in jdk 1.6
-
Constructor Details
-
JavaPlatform
public JavaPlatform()
-
-
Method Details
-
conformLike
INTERNAL: An implementation of in memory queries with Like which uses the regular expression framework. -
conformRegexp
INTERNAL: An implementation of in memory queries with Regexp which uses the regular expression framework. -
isSQLXML
INTERNAL: Indicates whether the passed object implements java.sql.SQLXML introduced in jdk 1.6 -
getStringAndFreeSQLXML
INTERNAL: Casts the passed object to SQLXML and calls getString and free methods- Throws:
SQLException
-