Project

General

Profile

« Previous | Next » 

Revision 49251

Added by Sofia Baltzi over 6 years ago

Add temporary changes for spring beans

View differences:

SQLMigrationUserDAO.java
4 4
import eu.dnetlib.openaire.user.store.DataSourceConnector;
5 5
import eu.dnetlib.openaire.user.store.Statement;
6 6
import org.springframework.beans.factory.annotation.Autowired;
7
import org.springframework.beans.factory.annotation.Value;
7 8
import org.springframework.stereotype.Component;
8 9

  
9 10
import java.sql.Connection;
......
19 20
/**
20 21
 * Created by sofia on 1/11/2016.
21 22
 */
22
@Component
23
@Component(value = "sqlMigrationUserDAO")
23 24
public class SQLMigrationUserDAO {
24 25

  
25
    @Autowired(required = true)
26
    @Autowired
26 27
    private DataSourceConnector dataSourceConnector;
27 28

  
28 29
    // FETCH

Also available in: Unified diff