sql.repositoryImplementation.ftl Maven / Gradle / Ivy
package ${packageName};
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.beans.factory.annotation.Qualifier;
import ${importEntity};
import ${importRepository};
import br.com.anteros.persistence.session.SQLSessionFactory;
import br.com.anteros.persistence.session.repository.impl.GenericSQLRepository;
/**
* Generated by Anteros Generator Maven Plugin at ${time}
**/
@Repository("${repository}")
public class ${repositoryNameImpl} extends GenericSQLRepository<${entityType}, Long> implements ${repositoryName} {
@Autowired
public ${repositoryNameImpl}(@Qualifier("sessionFactorySQL")SQLSessionFactory sessionFactory) {
super(sessionFactory);
}
}