Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java @ 311:ea3a438a7021
Backend access: Static methods are using the SessionHolder, too.
flys-artifacts/trunk@1694 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 14 Apr 2011 13:15:16 +0000 |
parents | 084995dd1c9c |
children | 0c6328c227f1 |
comparison
equal
deleted
inserted
replaced
310:6d2c8915e22c | 311:ea3a438a7021 |
---|---|
3 | 3 |
4 import java.util.List; | 4 import java.util.List; |
5 | 5 |
6 import de.intevation.flys.model.River; | 6 import de.intevation.flys.model.River; |
7 | 7 |
8 import de.intevation.flys.backend.SessionFactoryProvider; | |
9 | |
10 import org.hibernate.SessionFactory; | |
11 import org.hibernate.Session; | 8 import org.hibernate.Session; |
12 | 9 |
13 /** | 10 /** |
14 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
15 */ | 12 */ |