|
|
|
|
|
|
1
|
package se.citerus.dddsample.repository;
|
1
|
package se.citerus.dddsample.repository;
|
|
2
|
|
2
|
|
|
|
|
3
|
+import org.springframework.stereotype.Repository;
|
|
3
|
import se.citerus.dddsample.domain.Location;
|
4
|
import se.citerus.dddsample.domain.Location;
|
|
4
|
import se.citerus.dddsample.domain.UnLocode;
|
5
|
import se.citerus.dddsample.domain.UnLocode;
|
|
5
|
|
6
|
|
|
6
|
import java.util.List;
|
7
|
import java.util.List;
|
|
7
|
|
8
|
|
|
|
|
9
|
+@Repository
|
|
8
|
public final class LocationRepositoryHibernate extends HibernateRepository implements LocationRepository {
|
10
|
public final class LocationRepositoryHibernate extends HibernateRepository implements LocationRepository {
|
|
9
|
|
11
|
|
|
10
|
public Location find(final UnLocode unLocode) {
|
12
|
public Location find(final UnLocode unLocode) {
|