change
This commit is contained in:
parent
179a4f5588
commit
83ba94b6ed
|
@ -98,7 +98,7 @@ public class RestfulResultSet extends AbstractResultSet implements ResultSet {
|
|||
case Types.DOUBLE:
|
||||
return row.getDouble(colIndex);
|
||||
case Types.TIMESTAMP:
|
||||
return row.getTimestamp(colIndex);
|
||||
return new Timestamp(row.getDate(colIndex).getTime());
|
||||
case Types.BINARY:
|
||||
case Types.NCHAR:
|
||||
default:
|
||||
|
|
|
@ -9,8 +9,8 @@ import java.util.Random;
|
|||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||
public class RestfulJDBCTest {
|
||||
|
||||
private static final String host = "127.0.0.1";
|
||||
// private static final String host = "master";
|
||||
// private static final String host = "127.0.0.1";
|
||||
private static final String host = "master";
|
||||
private static Connection connection;
|
||||
private Random random = new Random(System.currentTimeMillis());
|
||||
|
||||
|
|
Loading…
Reference in New Issue