Class SQLErrorCodeReader

java.lang.Object
org.apache.openjpa.jdbc.sql.SQLErrorCodeReader

public class SQLErrorCodeReader extends Object
Parses XML content of SQL Error State codes to populate error codes for a given Database Dictionary.
Author:
Pinaki Poddar
  • Field Details

  • Constructor Details

    • SQLErrorCodeReader

      public SQLErrorCodeReader()
  • Method Details

    • getDictionaries

      public List<String> getDictionaries(InputStream in)
    • parse

      public void parse(InputStream in, String dictName, DBDictionary dict)
      Parses given stream of XML content for error codes of the given database dictionary name. Populates the given dictionary with the error codes.