Код: Выделить всё
Table Car_Manufacturer
(
car_id NUMBER;
manuFacturer_id NUMBER;
)
Код: Выделить всё
|TABLE CAR_MANUFACTURER |
| CAR_ID |MANUFACTURER_ID |
| 1 | 1284 |
| 2 | (null) |
Код: Выделить всё
select * from CAR_MANUFACTURER where car_id = 2
Код: Выделить всё
int id = rs.get("car_id");
Код: Выделить всё
2
Код: Выделить всё
Integer manId = rs.get("manufacturer_id");
Код: Выделить всё
0
Подробнее здесь: https://stackoverflow.com/questions/355 ... -resultset
Мобильная версия