# Spring Data

This project has examples showing how Spring Data works.
You can run the application running the class SpringDataDemoApplication


It will print:


## Finding all elements

The method `queryDatabase` will print the following output:

```
Country [id: 1 name: USA ]
Country [id: 2 name: Ecuador ]

```


The method `queryByName` will print the following output:

```
Country [id: 2 name: Ecuador ]

```