Home | History | Annotate | Download | only in util
      1 package com.xtremelabs.robolectric.util;
      2 
      3 import com.xtremelabs.robolectric.util.DatabaseConfig.DatabaseMap;
      4 
      5 import java.sql.ResultSet;
      6 import java.sql.SQLException;
      7 
      8 public class NullDatabaseMap implements DatabaseMap {
      9 
     10 	@Override
     11 	public String getDriverClassName() {
     12 		return "com.xtremelabs.robolectric.util.NullDatabaseMap";
     13 	}
     14 
     15 	@Override
     16 	public String getConnectionString() {
     17 		return null;
     18 	}
     19 
     20 	@Override
     21 	public String getScrubSQL(String sql) throws SQLException {
     22 		return null;
     23 	}
     24 
     25 	@Override
     26 	public String getSelectLastInsertIdentity() {
     27 		return null;
     28 	}
     29 
     30 	@Override
     31 	public int getResultSetType() {
     32 		return ResultSet.TYPE_FORWARD_ONLY;
     33 	}
     34 }
     35