Package javax.jdo

Examples of javax.jdo.JDOUnsupportedOptionException


        assertIsOpen();
        bindPMThread();
        Query q = createQuery(null);
        q.setClass(cls);
        if (getObjectIdClass(cls) == null)
            throw new JDOUnsupportedOptionException(
                    "There is a problem with the specified class");
        return q;
    }
View Full Code Here


    JDOQuery q = (JDOQuery) createQuery(null);
        Class c = extent.getCandidateClass();
        q.setIncludeSubClasses(extent.hasSubclasses());
        q.setClass(c);
        if (getObjectIdClass(c) == null)
            throw new JDOUnsupportedOptionException(
                    "There is a problem with the specified class");
        return q;
    }
View Full Code Here

     * @return the ObjectId of the instance
     */
    public Object getTransactionalObjectId(Object o) {
        assertIsOpen();
        bindPMThread();
        throw new JDOUnsupportedOptionException("Not implemented.");
    }
View Full Code Here

     * @see javax.jdo.PersistenceManager#makeTransactional
     * @param o the instance to make transactional.
     */
    public void makeTransactional(Object o) {
//TODO: support the makeTransactional method
        throw new JDOUnsupportedOptionException("not yet implemented");
    }
View Full Code Here

    /**
     * @todo implement
     */
  public void setRestoreValues(boolean b)
  {
        throw new JDOUnsupportedOptionException("Not Yet Implemented");
  }
View Full Code Here

    /**
     * @todo implement
     */
  public void setOptimistic(boolean b)
  {
        throw new JDOUnsupportedOptionException("Not yet implemented");
  }
View Full Code Here

     * @todo figure out how to implement
     * @param synchronization
     */
  public void setSynchronization(Synchronization synchronization)
  {
        throw new JDOUnsupportedOptionException("Not Yet Implemented");
  }
View Full Code Here

    /**
     * @todo figure out how to implement
     */
  public Synchronization getSynchronization()
  {
    throw new JDOUnsupportedOptionException("Not Yet Implemented");
  }
View Full Code Here

        {
            throw new JDOException("Error in calling Query.cancelAll. See the nested exception", ne);
        }
        catch (UnsupportedOperationException uoe)
        {
            throw new JDOUnsupportedOptionException();
        }
    }
View Full Code Here

        {
            throw new JDOException("Error in calling Query.cancelAll. See the nested exception", ne);
        }
        catch (UnsupportedOperationException uoe)
        {
            throw new JDOUnsupportedOptionException();
        }
    }
View Full Code Here

TOP

Related Classes of javax.jdo.JDOUnsupportedOptionException

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.