798081828384858687
return optionsFlags.get(RETAIN_VALUES); } public void setOptimistic(boolean optimistic) { if (optimistic) { throw new JDOUnsupportedOptionException(); } optionsFlags.set(OPTIMISTIC, optimistic); }
909192939495969798
return optionsFlags.get(OPTIMISTIC); } public void setRestoreValues(boolean restoreValues) { if (restoreValues) { throw new JDOUnsupportedOptionException(); } optionsFlags.set(RESTORE_VALUES, restoreValues); }
461462463464465466467
*/ public void setConnectionFactory(Object connectionFactory) { if (started) { throw new JDOUserException("It is forbidden to modify property after a getPersistenceManager() call"); } throw new JDOUnsupportedOptionException("Cannot set a Connection Factory, use <> instead"); }
503504505506507508509510
*/ public void setConnectionFactory2(Object connectionfactory) { if (started) { throw new JDOUserException("It is forbidden to modify property after a getPersistenceManager() call"); } throw new JDOUnsupportedOptionException( "Cannot set a second Connection Factory"); }
126127128129130131132133134135
} } while (tc.next()); } } catch (MedorException me) { values = null; throw new JDOUnsupportedOptionException( "Persistence manager problem to get result", new Exception[]{me}); } return values; }
47484950515253
public void jdoReplaceFlags() { throw new JDOUnsupportedOptionException(); } public PersistenceCapable jdoNewInstance(StateManager sm) { throw new JDOUnsupportedOptionException(); }
51525354555657
public PersistenceCapable jdoNewInstance(StateManager sm) { throw new JDOUnsupportedOptionException(); } public PersistenceCapable jdoNewInstance(StateManager sm, Object oid) { throw new JDOUnsupportedOptionException(); }
194195196197198199200201
/** * Ensures that this collection contains the specified element * (optional operation). */ public boolean add(Object o) { throw new JDOUnsupportedOptionException( "This method is not supported in this implementation"); }
55565758596061
public PersistenceCapable jdoNewInstance(StateManager sm, Object oid) { throw new JDOUnsupportedOptionException(); } public Object jdoNewObjectIdInstance(Object arg0) { throw new JDOUnsupportedOptionException(); }
58596061626364
public Object jdoNewObjectIdInstance(Object arg0) { throw new JDOUnsupportedOptionException(); } public Object jdoNewObjectIdInstance() { throw new JDOUnsupportedOptionException(); }