| Chunk |
|---|
| Conflicting content |
|---|
import org.sql2o.converters.Converter; <<<<<<< HEAD import java.io.InputStream; import java.sql.*; ======= import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; >>>>>>> 60fc05038867db8dfec62181fb682d168991af4f import java.util.Collections; import java.util.Map; |
| Solution content |
|---|
import org.sql2o.converters.Converter; import java.io.InputStream; import java.sql.*; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.util.Collections; import java.util.Map; |
| File |
|---|
| NoQuirks.java |
| Developer's decision |
|---|
| Concatenation |
| Kind of conflict |
|---|
| Import |
| Chunk |
|---|
| Conflicting content |
|---|
return true;
}
<<<<<<< HEAD
public void setParameter(PreparedStatement statement, int paramIdx, Object value) throws SQLException {
statement.setObject(paramIdx, value);
}
public void setParameter(PreparedStatement statement, int paramIdx, InputStream value) throws SQLException {
statement.setBinaryStream(paramIdx, value);
}
public void setParameter(PreparedStatement statement, int paramIdx, int value) throws SQLException {
statement.setInt(paramIdx, value);
}
public void setParameter(PreparedStatement statement, int paramIdx, Integer value) throws SQLException {
if (value == null) {
statement.setNull(paramIdx, Types.INTEGER);
} else {
statement.setInt(paramIdx, value);
}
}
public void setParameter(PreparedStatement statement, int paramIdx, long value) throws SQLException {
statement.setLong(paramIdx, value);
}
public void setParameter(PreparedStatement statement, int paramIdx, Long value) throws SQLException {
if (value == null) {
statement.setNull(paramIdx, Types.BIGINT);
} else {
statement.setLong(paramIdx, value);
}
}
public void setParameter(PreparedStatement statement, int paramIdx, String value) throws SQLException {
if (value == null) {
statement.setNull(paramIdx, Types.VARCHAR);
} else {
statement.setString(paramIdx, value);
}
}
public void setParameter(PreparedStatement statement, int paramIdx, Timestamp value) throws SQLException {
if (value == null) {
statement.setNull(paramIdx, Types.TIMESTAMP);
} else {
statement.setTimestamp(paramIdx, value);
}
}
public void setParameter(PreparedStatement statement, int paramIdx, Time value) throws SQLException {
if (value == null) {
statement.setNull(paramIdx, Types.TIME);
} else {
statement.setTime(paramIdx, value);
}
=======
public Object getRSVal(ResultSet rs, int idx) throws SQLException {
return rs.getObject(idx);
>>>>>>> 60fc05038867db8dfec62181fb682d168991af4f
}
} |
| Solution content |
|---|
return true;
}
public void setParameter(PreparedStatement statement, int paramIdx, Object value) throws SQLException {
statement.setObject(paramIdx, value);
}
public void setParameter(PreparedStatement statement, int paramIdx, InputStream value) throws SQLException {
statement.setBinaryStream(paramIdx, value);
}
public void setParameter(PreparedStatement statement, int paramIdx, int value) throws SQLException {
statement.setInt(paramIdx, value);
}
public void setParameter(PreparedStatement statement, int paramIdx, Integer value) throws SQLException {
if (value == null) {
statement.setNull(paramIdx, Types.INTEGER);
} else {
statement.setInt(paramIdx, value);
}
}
public void setParameter(PreparedStatement statement, int paramIdx, long value) throws SQLException {
statement.setLong(paramIdx, value);
}
public void setParameter(PreparedStatement statement, int paramIdx, Long value) throws SQLException {
if (value == null) {
statement.setNull(paramIdx, Types.BIGINT);
} else {
statement.setLong(paramIdx, value);
}
}
public void setParameter(PreparedStatement statement, int paramIdx, String value) throws SQLException {
if (value == null) {
statement.setNull(paramIdx, Types.VARCHAR);
} else {
statement.setString(paramIdx, value);
}
}
public void setParameter(PreparedStatement statement, int paramIdx, Timestamp value) throws SQLException {
if (value == null) {
statement.setNull(paramIdx, Types.TIMESTAMP);
} else {
statement.setTimestamp(paramIdx, value);
}
}
public void setParameter(PreparedStatement statement, int paramIdx, Time value) throws SQLException {
if (value == null) {
statement.setNull(paramIdx, Types.TIME);
} else {
statement.setTime(paramIdx, value);
}
}
public Object getRSVal(ResultSet rs, int idx) throws SQLException {
return rs.getObject(idx);
}
} |
| File |
|---|
| NoQuirks.java |
| Developer's decision |
|---|
| Concatenation |
| Kind of conflict |
|---|
| If statement |
| Method declaration |
| Method invocation |
| Method signature |
| Return statement |
| Chunk |
|---|
| Conflicting content |
|---|
import org.sql2o.converters.Converter; <<<<<<< HEAD import java.io.InputStream; import java.sql.*; ======= import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; >>>>>>> 60fc05038867db8dfec62181fb682d168991af4f import java.util.Map; /** |
| Solution content |
|---|
import org.sql2o.converters.Converter; import java.io.InputStream; import java.sql.*; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.util.Map; /** |
| File |
|---|
| Quirks.java |
| Developer's decision |
|---|
| Concatenation |
| Kind of conflict |
|---|
| Import |
| Chunk |
|---|
| Conflicting content |
|---|
*/
boolean returnGeneratedKeysByDefault();
<<<<<<< HEAD
void setParameter(PreparedStatement statement, int paramIdx, Object value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, InputStream value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, int value) throws SQLException;
void setParameter(PreparedStatement statement, int paramidx, Integer value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, long value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, Long value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, String value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, Timestamp value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, Time value) throws SQLException;
=======
Object getRSVal(ResultSet rs, int idx) throws SQLException;
>>>>>>> 60fc05038867db8dfec62181fb682d168991af4f
} |
| Solution content |
|---|
*/
boolean returnGeneratedKeysByDefault();
void setParameter(PreparedStatement statement, int paramIdx, Object value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, InputStream value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, int value) throws SQLException;
void setParameter(PreparedStatement statement, int paramidx, Integer value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, long value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, Long value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, String value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, Timestamp value) throws SQLException;
void setParameter(PreparedStatement statement, int paramIdx, Time value) throws SQLException;
Object getRSVal(ResultSet rs, int idx) throws SQLException;
} |
| File |
|---|
| Quirks.java |
| Developer's decision |
|---|
| Concatenation |
| Kind of conflict |
|---|
| Method interface |