Hi ,
I am using orientdb 2.0.18, rollback is not working.
factory = new
OrientGraphFactory(DatabaseConnectionMgr.URL,DatabaseConnectionMgr.USERNAME,DatabaseConnectionMgr.PASSWORD).setupPool(1,10);
OrientGraph graph = factory.getTx();
String sql = "insert into package_master set
name=\""+bean.getName()+"\",cost_price="+bean.getCostPrice()+",special_price="+bean.getSpecialPrice()
+", tax="+tax+", validity_count="+bean.getValidityCount()+",
validity_type="+bean.getValidityType()+",
validity_days="+bean.getValidityDays()+",discount="+bean.getDiscount()+",is_deleted=0,is_status=1,created_date='"+bean.getCurrentDate()+"'";
Vertex v = graph.command(new OCommandSQL(sql)).execute();
graph.rollback() ; // is not working;
Regards
Jayaraj
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.