1 17 package org.apache.geronimo.timer.jdbc; 18 19 import java.sql.Connection ; 20 import java.sql.Statement ; 21 22 import org.axiondb.jdbc.AxionDataSource; 23 24 27 public class AxionJDBCWorkerPersistenceTest extends JDBCWorkerPersistenceTestAbstract { 28 29 protected void setUp() throws Exception { 30 useSequence = true; 31 datasource = new AxionDataSource("jdbc:axiondb:testdb"); 32 super.setUp(); 33 } 34 35 protected void tearDown() throws Exception { 36 Connection c = datasource.getConnection(); 37 Statement s = c.createStatement(); 38 s.execute("SHUTDOWN"); 39 s.close(); 40 c.close(); 41 } 42 43 } 44 | Popular Tags |