1 6 7 package com.hp.hpl.jena.db.impl; 8 9 import com.hp.hpl.jena.db.GraphRDB; 10 import com.hp.hpl.jena.graph.impl.*; 11 12 18 public class DBTransactionHandler extends TransactionHandlerBase { 19 private IRDBDriver m_driver = null; 20 21 28 public DBTransactionHandler(IRDBDriver driver, GraphRDB graphRDB ) { 29 super(); 30 m_driver = driver; 31 } 32 33 public boolean transactionsSupported() { 34 return m_driver.transactionsSupported(); 35 } 36 37 public void begin() { 38 m_driver.begin(); 39 } 40 41 public void abort() { 42 m_driver.abort(); 43 } 44 45 public void commit() { 46 m_driver.commit(); 47 } 48 49 } 50 51 | Popular Tags |