1 19 20 package org.netbeans.modules.db.test.jdbcstub; 21 22 import java.lang.reflect.Method ; 23 import java.lang.reflect.Proxy ; 24 import java.sql.Connection ; 25 import java.sql.DatabaseMetaData ; 26 import org.netbeans.modules.j2ee.persistence.editor.completion.*; 27 import org.netbeans.test.stub.api.StubDelegate; 28 29 33 public class ConnectionImpl extends StubDelegate { 34 35 private DatabaseMetaData metaData; 36 37 public ConnectionImpl(DatabaseMetaData metaData) { 38 this.metaData = metaData; 39 } 40 41 public String getCatalog() { 42 return null; 43 } 44 45 public DatabaseMetaData getMetaData() { 46 return metaData; 47 } 48 } 49 | Popular Tags |