
how can we set transaction level through jdbc api

Use Connection.setTransactionIsolation(int) to set the desired tansaction level, which takes one of the 5 arguments listed below:
TRANSACTION_NONE TRANSACTION_READ_COMMITTED TRANSACTION_SERIALIZABLE TRANSACTION_READ_UNCOMMITTED TRANSACTION_REPEATABLE_READ