public class JavaPlatform
extends java.lang.Object
JDPlatform
Modifier and Type | Field and Description |
---|---|
static int |
FALSE |
static int |
TRUE |
static int |
UNDEFINED |
Constructor and Description |
---|
JavaPlatform() |
Modifier and Type | Method and Description |
---|---|
static int |
conformLike(java.lang.Object left,
java.lang.Object right)
INTERNAL:
Conform an expression which uses the operator "like" for an in-memory query
|
static java.util.Map |
getQueryCacheMap()
INTERNAL:
Get the Map to store the query cache in
|
static long |
getTimeInMillis(java.util.Calendar calendar)
INTERNAL:
Get the milliseconds from a Calendar.
|
static void |
setExceptionCause(java.lang.Throwable exception,
java.lang.Throwable cause)
INTERNAL:
Set the cause of an exception.
|
static void |
setTimeInMillis(java.util.Calendar calendar,
long millis)
INTERNAL:
Set the milliseconds for a Calendar.
|
static boolean |
shouldPrintInternalException()
INTERNAL
return a boolean which determines where TopLink should include the TopLink-stored
Internal exception in it's stack trace.
|
public static final int FALSE
public static final int TRUE
public static final int UNDEFINED
public static int conformLike(java.lang.Object left, java.lang.Object right)
public static long getTimeInMillis(java.util.Calendar calendar)
calendar
- the instance of calendar to get the millis frompublic static java.util.Map getQueryCacheMap()
public static void setTimeInMillis(java.util.Calendar calendar, long millis)
public static void setExceptionCause(java.lang.Throwable exception, java.lang.Throwable cause)
java.lang.Throwable
- the exception to set the cause forjava.lang.Throwable
- the cause of this exceptionpublic static boolean shouldPrintInternalException()