Package org.apache.derby.iapi.sql.dictionary

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionaryContext


   */
  public static String countDependencies() throws StandardException, java.sql.SQLException
  {
    int            numDependencies = 0;
    DataDictionary      dd;
    DataDictionaryContext  ddc;
    DependencyManager    dm;
    StringBuffer      debugBuf = new StringBuffer();

    ddc = (DataDictionaryContext)
        (ContextService.getContext(DataDictionaryContext.CONTEXT_ID));

    dd = ddc.getDataDictionary();
    dm = dd.getDependencyManager();

    numDependencies = dm.countDependencies();

    if (numDependencies > 0)
View Full Code Here


        return convertIdentifierCase( SchemaDescriptor.STD_DECLARED_GLOBAL_TEMPORARY_TABLES_SCHEMA_NAME);
    }

  public DataDictionary getDataDictionary()
  {
    DataDictionaryContext ddc =
      (DataDictionaryContext) getContextManager().getContext(DataDictionaryContext.CONTEXT_ID);

    if (ddc != null)
    {
      return ddc.getDataDictionary();
    }
    else
    {
      return null;
    }
View Full Code Here

            throws StandardException
  {
    if ( dataDictionary == null )
      {
      ContextManager        cm  = ContextService.getFactory().getCurrentContextManager();
      DataDictionaryContext    ddc = (DataDictionaryContext)
                                    (cm.getContext(DataDictionaryContext.CONTEXT_ID));
      dataDictionary = ddc.getDataDictionary();
    }
    return  dataDictionary;
  }
View Full Code Here

   */
  private DataDictionary getDataDictionary()
  {
    if (dataDictionary == null)
    {
      DataDictionaryContext    ddc;
     
      ddc = (DataDictionaryContext)
            (ContextService.getContext(DataDictionaryContext.CONTEXT_ID));


      dataDictionary = ddc.getDataDictionary();
    }

    return dataDictionary;
  }
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.sql.dictionary.DataDictionaryContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.