Search in sources :

Example 11 with FBRowId

use of org.firebirdsql.jdbc.FBRowId in project jaybird by FirebirdSQL.

the class BaseJUnit4TestFBField method setObject_RowId.

@Test
public void setObject_RowId() throws SQLException {
    expectedException.expect(TypeConversionException.class);
    field.setObject(new FBRowId(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }));
}
Also used : FBRowId(org.firebirdsql.jdbc.FBRowId) Test(org.junit.Test)

Aggregations

FBRowId (org.firebirdsql.jdbc.FBRowId)11 Test (org.junit.Test)11 RowId (java.sql.RowId)4