With Sequel, you can provide a :prepare option with a string value when beginning a transaction.
This will use a prepared transaction.