Commiting a read only transaction

In OGM, if I open a read only transaction:

Transaction tx = session.beginTransaction(Transaction.Type.READ_ONLY);

Should I commit it before closing?

1 Like