Examples of DatabaseContext


Examples of org.apache.derby.iapi.db.DatabaseContext

  {
    restoreToNull();

    if (theValue != null)
    {
            DatabaseContext databaseContext = (DatabaseContext) ContextService.getContext(DatabaseContext.CONTEXT_ID);
            parseTimestamp( theValue,
                            false,
                            (databaseContext == null) ? null : databaseContext.getDatabase(),
                            (Calendar) null);
    }
    /* restoreToNull will have already set the encoded date to 0 (null value) */
  }
 
View Full Code Here

Examples of org.apache.derby.iapi.db.DatabaseContext

    // This is not very satisfactory, as it creates a dependency on
    // the DatabaseContext. It's the best I could do on short notice,
    // though.  -  Jeff
    if (localeFinder == null)
    {
      DatabaseContext dc = (DatabaseContext) ContextService.getContext(DatabaseContext.CONTEXT_ID);
            if( dc != null)
                localeFinder = dc.getDatabase();
    }

    return localeFinder;
  }
View Full Code Here

Examples of org.apache.derby.iapi.db.DatabaseContext

        // This is not very satisfactory, as it creates a dependency on
        // the DatabaseContext. It's the best I could do on short notice,
        // though.  -  Jeff
        if (localeFinder == null)
        {
            DatabaseContext dc = (DatabaseContext)
                ContextService.getContext(DatabaseContext.CONTEXT_ID);
            if( dc != null)
                localeFinder = dc.getDatabase();
        }

        return localeFinder;
    }
View Full Code Here

Examples of org.apache.derby.iapi.db.DatabaseContext

  public void pushDbContext(ContextManager cm)
  {
    /* We cache the locale in the DatabaseContext
     * so that the Datatypes can get to it easily.
     */
    DatabaseContext dc = new DatabaseContextImpl(cm, this);
  }
View Full Code Here

Examples of org.apache.derby.iapi.db.DatabaseContext

  public void pushDbContext(ContextManager cm)
  {
    /* We cache the locale in the DatabaseContext
     * so that the Datatypes can get to it easily.
     */
    DatabaseContext dc = new DatabaseContextImpl(cm, this);
  }
View Full Code Here

Examples of org.apache.derby.iapi.db.DatabaseContext

        // This is not very satisfactory, as it creates a dependency on
        // the DatabaseContext. It's the best I could do on short notice,
        // though.  -  Jeff
        if (localeFinder == null)
        {
            DatabaseContext dc = (DatabaseContext)
                ContextService.getContext(DatabaseContext.CONTEXT_ID);
            if( dc != null)
                localeFinder = dc.getDatabase();
        }

        return localeFinder;
    }
View Full Code Here

Examples of org.apache.derby.iapi.db.DatabaseContext

  {
    restoreToNull();

    if (theValue != null)
    {
            DatabaseContext databaseContext = (DatabaseContext) ContextService.getContext(DatabaseContext.CONTEXT_ID);
            parseTimestamp( theValue,
                            false,
                            (databaseContext == null) ? null : databaseContext.getDatabase(),
                            (Calendar) null);
    }
    /* restoreToNull will have already set the encoded date to 0 (null value) */
  }
 
View Full Code Here

Examples of org.apache.derby.iapi.db.DatabaseContext

      throws StandardException
  {
    restoreToNull();
    if (theValue != null)
        {
            DatabaseContext databaseContext = (DatabaseContext) ContextService.getContext(DatabaseContext.CONTEXT_ID);
            parseTime( theValue,
                       false,
                       (databaseContext == null) ? null : databaseContext.getDatabase(),
                       (Calendar) null);
        }
  }
View Full Code Here

Examples of org.apache.derby.iapi.db.DatabaseContext

  {
    restoreToNull();

    if (theValue != null)
    {
            DatabaseContext databaseContext = (DatabaseContext) ContextService.getContext(DatabaseContext.CONTEXT_ID);
            parseDate( theValue,
                       false,
                       (databaseContext == null) ? null : databaseContext.getDatabase(),
                       (Calendar) null);
        }
  }
View Full Code Here

Examples of org.apache.derby.iapi.db.DatabaseContext

    // This is not very satisfactory, as it creates a dependency on
    // the DatabaseContext. It's the best I could do on short notice,
    // though.  -  Jeff
    if (localeFinder == null)
    {
      DatabaseContext dc = (DatabaseContext) ContextService.getContext(DatabaseContext.CONTEXT_ID);
            if( dc != null)
                localeFinder = dc.getDatabase();
    }

    return localeFinder;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.