Forum: Building VoltDB Clients

Post: VoltDB ORM Java framework

VoltDB ORM Java framework
szalejot
Feb 11, 2013
Hi,

For now I used Hibernate as Java ORM framework, but VoltDB is not on Hibernate supported databases list.

Which framework I can use to easily map java objects to VoltDB?
MyBatis
vtkstef
Feb 11, 2013
I recommend you use mybatis . Please keep in mind the following.

MyBatis cannot control transaction scope in VoltDB, so make sure you set its transaction isolation to NONE. Use, instead, VoltDB java store procedures to demarcate your transactional operational boundaries.

Prefer coding your sql statements in VoltDB store procedures, rather then issuing them directly from jdbc, as the latter are an order of magnitude slower.

Stefano