// Path: druid-spring-boot-example/druid-spring-boot-jpa-example/src/main/java/com/github/trang/druid/example/jpa/repository/CityRepository.java
// public interface CityRepository extends JpaRepository<City, Long> {
// 
// }


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.github.trang.druid.example.jpa.repository.CityRepository;
import com.google.gson.Gson;
import lombok.extern.slf4j.Slf4j;
package com.github.trang.druid.example.jpa;




/**
 * DruidSpringBootStarterApplication
 *
 * @author trang
 */
@SpringBootApplication
@Slf4j
public class DruidJpaApplication implements CommandLineRunner {

    public static void main(String[] args) {
        System.setProperty("druid.logType", "slf4j");
        SpringApplication.run(DruidJpaApplication.class, args);
    }

    @Autowired
// Path: druid-spring-boot-example/druid-spring-boot-jpa-example/src/main/java/com/github/trang/druid/example/jpa/repository/CityRepository.java
// public interface CityRepository extends JpaRepository<City, Long> {
// 
// }


// Path: druid-spring-boot-example/druid-spring-boot-jpa-example/src/main/java/com/github/trang/druid/example/jpa/DruidJpaApplication.java
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.github.trang.druid.example.jpa.repository.CityRepository;
import com.google.gson.Gson;
import lombok.extern.slf4j.Slf4j;

package com.github.trang.druid.example.jpa;




/**
 * DruidSpringBootStarterApplication
 *
 * @author trang
 */
@SpringBootApplication
@Slf4j
public class DruidJpaApplication implements CommandLineRunner {

    public static void main(String[] args) {
        System.setProperty("druid.logType", "slf4j");
        SpringApplication.run(DruidJpaApplication.class, args);
    }

    @Autowired
    private CityRepository cityRepository;