package com.Config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.sql.DataSource;

@Component
public class JdbcUtil {
    @Getter
    public static String URL;
    public static String driver;
    @Value("${jdbc.url}")
    public void setUrl(String url) {
        URL = url;
    }

}
