Revision 443f1bb1
Added by Niels Hoffmann almost 14 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/conversation/ConversationHolder.java | ||
---|---|---|
108 | 108 |
|
109 | 109 |
try{ |
110 | 110 |
|
111 |
logger.info("Starting new Synchronization in TransactionSynchronizationManager.");
|
|
111 |
logger.info("Starting new Synchronization in TransactionSynchronizationManager"); |
|
112 | 112 |
TransactionSynchronizationManager.initSynchronization(); |
113 | 113 |
|
114 | 114 |
if(TransactionSynchronizationManager.hasResource(getSessionFactory())){ |
115 | 115 |
TransactionSynchronizationManager.unbindResource(getSessionFactory()); |
116 | 116 |
} |
117 | 117 |
|
118 |
logger.info("Binding Session to TransactionSynchronizationManager.");
|
|
118 |
logger.info("Binding Session to TransactionSynchronizationManager: Session: " + getSessionHolder());
|
|
119 | 119 |
TransactionSynchronizationManager.bindResource(getSessionFactory(), getSessionHolder()); |
120 | 120 |
|
121 | 121 |
}catch(Exception e){ |
... | ... | |
161 | 161 |
}else{ |
162 | 162 |
transactionStatus = transactionManager.getTransaction(definition); |
163 | 163 |
|
164 |
logger.info("Transaction started: [" + transactionStatus + "]");
|
|
164 |
logger.info("Transaction started: " + transactionStatus);
|
|
165 | 165 |
} |
166 | 166 |
return transactionStatus; |
167 | 167 |
} |
Also available in: Unified diff
merging the last changes from SPRINT-Cichoriea1 into trunk