Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
@EntityScan(basePackages = {"com.springbootdev.domain.entity"})
@EnableJpaRepositories(basePackages = {"com.springbootdev.domain.repository"})
public class SpringBootDataJpaExampleApplication
public static void main(String[] args)
{, args);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment