你好,如何指定数据库事务隔离级别?
//为enhance方法传入的拦截器称为Inject拦截器,下面代码中的Tx称为Inject拦截器
ReadyClueToDdpSalopportunitySerice service = Enhancer.enhance(ReadyClueToDdpSalopportunitySerice.class, Tx.class);
boolean bl=false;
try {
bl=service.save(vrc);
} catch (Exception e) {
log.error("程序异常_e:"+ExceptionUtil.getTrace(e));
}
异常:Caused by: java.sql.SQLException: ORA-08177: can't serialize access for this transaction