improved syntax error in BeanTransaction class