Sha256: 086a40858d4abb6fe80e73299eac8c894dc628411fb000434877cdd4f7fded0e
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
class Java::NetOntopiaTopicmapsImplTmapi2::TopicMapImpl # Commits the transaction. The changes made are written to the persistent # store. # # The transaction will resume after the commit meaning that the objects # retrieved through is still usable after the commit. # # This is just a convencience method for getWrapped().getStore().commit(). # # @return true def commit wrapped.store.commit true end # Aborts the transaction; all changes made inside the transaction are rolled # back. # # The transaction will resume after the abort meaning that the objects # retrieved through is still usable after the abort, but their state has # been reverted to the state in the persistent store. # # This is just a convencience method for getWrapped().getStore().abort(). # # @return true def abort wrapped.store.abort true end # @private # This method is undocumented intentionally because it is here only for # those of us who look for "rollback" instead of "abort". def rollback warn("TopicMap#rollback is only a convenience method for Ontopia's default 'abort'. Please use that instead.") abort end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rtm-ontopia-0.3.1-java | lib/rtm/ontopia/rdbms/store.rb |