Sha256: 48a1c2b1a33feea2816f4f23c0191c29de86d4df6d583f99e9f3a533f945dbda

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

Stored size: 618 Bytes

Contents

package <%= Configuration.package %>.<%= Configuration.repositories_package %>;

<% if Configuration.hibernate? -%>
import <%= orm_import %>;
import org.springframework.beans.factory.annotation.Autowired;
<% end -%>
import org.springframework.stereotype.Repository;

import <%= Configuration.full_models_package %>.<%= class_name %>;

@Repository
public class <%= repository_class_name %> extends GenericRepository<<%= class_name %>> {
  <%- if Configuration.hibernate? %>
	@Autowired
	public <%= repository_class_name %>(<%= orm_class %> <%= orm_parameter_name %>) {
		super(<%= orm_parameter_name %>);
	}<% end %>
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
springmvc-scaffold-1.0.1 lib/springmvc-scaffold/generators/scaffold/repository/templates/repository.erb