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 java.sql.ResultSet ; 27 import org.netbeans.modules.j2ee.persistence.editor.completion.*; 28 import org.netbeans.test.stub.api.StubDelegate; 29 30 34 public class DatabaseMetaDataImpl extends StubDelegate { 35 36 public String getURL() { 37 return null; 38 } 39 40 public String getUserName() { 41 return null; 42 } 43 44 public String getDatabaseProductName() { 45 return "DBStub"; 46 } 47 48 public String getDatabaseProductVersion() { 49 return "1.0"; 50 } 51 52 public String getDriverName() { 53 return "DBStub JDBC Driver"; 54 } 55 56 public String getDriverVersion() { 57 return "1.0"; 58 } 59 } 60 | Popular Tags |