Re: A basic question about constants




"Richard" <grin@xxxxxxxx> schrieb im Newsbeitrag
news:42e1fbdb$0$29943$636a15ce@xxxxxxxxxxxxxxx
> 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?

The interface is in the SDK since 5.0 I think. And in 5.0 the field is not
final in the sources as well as in the api-doc. What lib with the interface
are you using?

Regards
Sebastian


.



Relevant Pages

  • Re: HEADSUP: internal network interface changes
    ... >> softcs and replaces them with a struct ifnet pointer which is allocated ... >> longer part of the network interface ABI. ... >> action on the part of the driver without breaking the ABI. ... >> fixed before commit. ...
    (freebsd-current)
  • Re: HEADSUP: internal network interface changes
    ... >> softcs and replaces them with a struct ifnet pointer which is allocated ... >> longer part of the network interface ABI. ... >> action on the part of the driver without breaking the ABI. ... >> fixed before commit. ...
    (freebsd-net)
  • 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: [take25 1/6] kevent: Description.
    ... int kevent_commit(int ctl_fd, unsigned int new_tail, ... This approach has the advantage that the commit calls don't have to be ... taken into account and the tail pointer is always short of what it ... I like this interface, although current one does not allow special ...
    (Linux-Kernel)
  • 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)