public class JavaPlatform extends 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(Object left,
Object right)
INTERNAL:
Conform an expression which uses the operator "like" for an in-memory query
|
static Map |
getQueryCacheMap()
INTERNAL:
Get the Map to store the query cache in
|
static long |
getTimeInMillis(Calendar calendar)
INTERNAL:
Get the milliseconds from a Calendar.
|
static void |
setExceptionCause(Throwable exception,
Throwable cause)
INTERNAL:
Set the cause of an exception.
|
static void |
setTimeInMillis(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(Object left, Object right)
public static long getTimeInMillis(Calendar calendar)
calendar
- the instance of calendar to get the millis frompublic static Map getQueryCacheMap()
public static void setTimeInMillis(Calendar calendar, long millis)
public static void setExceptionCause(Throwable exception, Throwable cause)
java.lang.Throwable
- the exception to set the cause forjava.lang.Throwable
- the cause of this exceptionpublic static boolean shouldPrintInternalException()
Copyright © 2021. All rights reserved.