Skip to content

Instantly share code, notes, and snippets.

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