File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
main/java/com/iluwatar/repository
test/java/com/iluwatar/repository Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1313 * query construction code is concentrated. This becomes more important when there are a large
1414 * number of domain classes or heavy querying. In these cases particularly, adding this layer helps
1515 * minimize duplicate query logic.
16- *
17- * In this example we utilize Spring Data to automatically generate a repository for us from the Person
18- * domain object. Using the PersonDao we perform CRUD operations on the entity. Underneath we have
16+ * <p>
17+ * In this example we utilize Spring Data to automatically generate a repository for us from the {@link Person}
18+ * domain object. Using the {@link PersonRepository} we perform CRUD operations on the entity. Underneath we have
1919 * configured in-memory H2 database for which schema is created and dropped on each run.
2020 *
2121 */
2222public class App {
2323
24+ /**
25+ * Program entry point
26+ * @param args command line args
27+ */
2428 public static void main (String [] args ) {
2529 ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext (
2630 "applicationContext.xml" );
Original file line number Diff line number Diff line change 44
55import com .iluwatar .repository .App ;
66
7+ /**
8+ *
9+ * Application test
10+ *
11+ */
712public class AppTest {
813
914 @ Test
You can’t perform that action at this time.
0 commit comments