Login  Register

Users - where is the variable located

Posted by puranisank on May 23, 2006; 8:48am
URL: http://ofbiz.116.s1.nabble.com/Users-where-is-the-variable-located-tp139416.html

Hi,

Can anyone please tell me where is the variable "STATUS_ACTIVE" and "Status" located in the java packages named javax.transaction... that is used in the "GenericXaResource".

public void enlist() throws XAException {

TransactionManager tm = TransactionFactory.getTransactionManager();

try {

if (tm != null && tm.getStatus() == Status.STATUS_ACTIVE) {

Transaction tx = tm.getTransaction();

if (tx != null) {

tx.enlistResource(this);

} else {

throw new XAException(XAException.XAER_NOTA);

 

 

Thanks

Purani

 

 


 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users