Class DerbySQLFunction

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

public class DerbySQLFunction extends Object
Java Functions that are called by the database
  • Constructor Details

    • DerbySQLFunction

      private DerbySQLFunction()
  • Method Details

    • ascii

      public static int ascii(String code)
      ASCII code.
      Parameters:
      code - The code
      Returns:
      The ascii character
    • matches

      public static int matches(String text, String pattern)
      Matches code.
      Parameters:
      text - The text
      pattern - the pattern
      Returns:
      1 if true according to String.matches rules, 0 otherwise