A basic question about constants



Hello,

An extract from the javadoc of javax.sql.rowset.CachedRowSet (an interface):
---
COMMIT_ON_ACCEPT_CHANGES

static final boolean COMMIT_ON_ACCEPT_CHANGES

Causes the CachedRowSet object's SyncProvider to commit the changes when acceptChanges() is called. If set to false, the changes will not be committed until one of the CachedRowSet interface transaction methods is called.

See Also:
   commit(), rollback(), Constant Field Values
---

My basic question is: how is it possible to change the value of a constant defined in an interface?

Thanks in advance for your answers.

Richard
.



Relevant Pages

  • Re: A basic question about constants
    ... > John B. Matthews a écrit: ... >>>committed until one of the CachedRowSet interface transaction methods is ... >>> commit(), rollback, Constant Field Values ...
    (comp.lang.java.help)
  • Re: A basic question about constants
    ... > An extract from the javadoc of javax.sql.rowset.CachedRowSet (an interface): ... > committed until one of the CachedRowSet interface transaction methods is ... > commit(), rollback, Constant Field Values ... jmatthews at wright dot edu ...
    (comp.lang.java.help)
  • Re: A basic question about constants
    ... Causes the CachedRowSet object's SyncProvider to commit the changes when acceptChangesis called. ... the changes will not be committed until one of the CachedRowSet interface transaction methods is called. ... public boolean getConstant() { ...
    (comp.lang.java.help)
  • Re: A basic question about constants
    ... > committed until one of the CachedRowSet interface transaction methods is ... > commit(), rollback, Constant Field Values ...
    (comp.lang.java.help)