public class JDK15Platform extends java.lang.Object implements JDKPlatform
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Hashtable |
patternCache
PERF: The regular expression compiled Pattern objects are cached
to avoid recompilation on every usage.
|
| Constructor and Description |
|---|
JDK15Platform() |
| Modifier and Type | Method and Description |
|---|---|
int |
conformLike(java.lang.Object left,
java.lang.Object right)
INTERNAL:
An implementation of in memory queries with Like which uses the JDK 1.4
regular expression framework.
|
java.util.Map |
getQueryCacheMap()
INTERNAL
Get the Map to store the query cache in
|
long |
getTimeInMillis(java.util.Calendar calendar)
INTERNAL:
Get the milliseconds from a Calendar.
|
void |
setExceptionCause(java.lang.Throwable exception,
java.lang.Throwable cause)
INTERNAL:
Use API first available in JDK 1.4 to set the cause of an exception.
|
void |
setTimeInMillis(java.util.Calendar calendar,
long millis)
INTERNAL:
Set the milliseconds for a Calendar.
|
boolean |
shouldPrintInternalException()
INTERNAL
return a boolean which determines where TopLink should include the TopLink-stored
Internal exception in it's stack trace.
|
protected static java.util.Hashtable patternCache
public java.util.Map getQueryCacheMap()
getQueryCacheMap in interface JDKPlatformpublic int conformLike(java.lang.Object left,
java.lang.Object right)
conformLike in interface JDKPlatformpublic long getTimeInMillis(java.util.Calendar calendar)
getTimeInMillis in interface JDKPlatformpublic void setTimeInMillis(java.util.Calendar calendar,
long millis)
setTimeInMillis in interface JDKPlatformpublic void setExceptionCause(java.lang.Throwable exception,
java.lang.Throwable cause)
setExceptionCause in interface JDKPlatformpublic boolean shouldPrintInternalException()
shouldPrintInternalException in interface JDKPlatform