View Javadoc
1   // Generated by: hibernate/SpringHibernateDaoImpl.vsl in andromda-spring-cartridge.
2   // license-header java merge-point
3   //
4   // Attention: Generated code! Do not modify by hand!
5   // Generated by: SpringHibernateDaoImpl.vsl in andromda-spring-cartridge.
6   //
7   package fr.ifremer.quadrige2.core.dao.system;
8   
9   /*-
10   * #%L
11   * Quadrige2 Core :: Server API
12   * %%
13   * Copyright (C) 2017 Ifremer
14   * %%
15   * This program is free software: you can redistribute it and/or modify
16   * it under the terms of the GNU Affero General Public License as published by
17   * the Free Software Foundation, either version 3 of the License, or
18   * (at your option) any later version.
19   * 
20   * This program is distributed in the hope that it will be useful,
21   * but WITHOUT ANY WARRANTY; without even the implied warranty of
22   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23   * GNU General Public License for more details.
24   * 
25   * You should have received a copy of the GNU Affero General Public License
26   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
27   * #L%
28   */
29  
30  import org.hibernate.SessionFactory;
31  import org.springframework.beans.factory.annotation.Autowired;
32  import org.springframework.context.annotation.Lazy;
33  import org.springframework.stereotype.Repository;
34  
35  /**
36   * @see fr.ifremer.quadrige2.core.dao.system.Location
37   */
38  @Repository("locationDao")
39  @Lazy
40  public class LocationDaoImpl
41      extends LocationDaoBase
42  {
43      /**
44       * Constructor used by Spring
45       */
46  	@Autowired
47  	public LocationDaoImpl(SessionFactory sessionFactory) {
48  		super();
49  		setSessionFactory(sessionFactory);
50  	}
51  
52  }