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
  • Constructor Details

    • JavaPlatform

      public JavaPlatform()
  • Method Details

    • 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