org.datanucleus.store.rdbms.adapter
Class DerbySQLFunction

java.lang.Object
  extended by org.datanucleus.store.rdbms.adapter.DerbySQLFunction

public class DerbySQLFunction
extends java.lang.Object

Java Functions that are called by the database


Constructor Summary
DerbySQLFunction()
           
 
Method Summary
static int ascii(java.lang.String code)
          ASCII code.
static int matches(java.lang.String text, java.lang.String pattern)
          Matches code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerbySQLFunction

public DerbySQLFunction()
Method Detail

ascii

public static int ascii(java.lang.String code)
ASCII code.

Parameters:
code - The code
Returns:
The ascii character

matches

public static int matches(java.lang.String text,
                          java.lang.String pattern)
Matches code.

Parameters:
text - The text
pattern - the pattern
Returns:
1 if true according to String.matches rules, 0 otherwise


Copyright © 2009. All Rights Reserved.