Project

General

Profile

« Previous | Next » 

Revision 50509

upgraded version of jdbc driver for postgres, this includes a lot of changes, Because we have to add @transactional
annotation in some properties to avoid connection closed exception

View differences:

UpdateOpenaireMetaWfStatusJobNode.java
1 1
package eu.dnetlib.msro.openaireplus.workflows.nodes.repohi;
2 2

  
3
import eu.dnetlib.enabling.datasources.common.LocalDatasourceManager;
3 4
import org.springframework.beans.factory.annotation.Autowired;
4 5

  
5 6
import eu.dnetlib.enabling.datasources.LocalOpenaireDatasourceManager;
6 7
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpService;
7 8
import eu.dnetlib.enabling.locators.UniqueServiceLocator;
8 9
import eu.dnetlib.msro.workflows.nodes.repohi.UpdateMetaWfStatusJobNode;
10
import org.springframework.beans.factory.annotation.Required;
9 11

  
10 12
public class UpdateOpenaireMetaWfStatusJobNode extends UpdateMetaWfStatusJobNode {
11 13

  
12 14
	@Autowired
13 15
	private UniqueServiceLocator serviceLocator;
16

  
14 17
	@Autowired
15
	private LocalOpenaireDatasourceManager dsManager;
18
	private LocalDatasourceManager dsManager;
16 19

  
17 20
	@Override
18 21
	protected void updateDatasource(final String dsId, final String ifaceId) throws Exception {
......
28 31
		}
29 32
	}
30 33

  
34

  
31 35
}

Also available in: Unified diff