// Path: spec/lib/generators/scaffold_generator/model_generator/templates/Product.java
// @javax.persistence.Entity
// public class Product extends Entity {
// 	
// 	private String name;
// 	private boolean flag;
// 	
// 	public void setName(String name) {
// 		this.name = name;
// 	}
// 	
// 	public String getName() {
// 		return name;
// 	}
// 	
// 	public void setFlag(boolean flag) {
// 		this.flag = flag;
// 	}
// 	
// 	public boolean getFlag() {
// 		return flag;
// 	}
// 	
// }


import javax.persistence.EntityManager;
import br.com.caelum.vraptor.ioc.Component;
import app.models.Product;
package app.repositories;



@Component
public class ProductRepositoryImpl 
    extends Repository<Product, Long>
    implements ProductRepository {

// Path: spec/lib/generators/scaffold_generator/model_generator/templates/Product.java
// @javax.persistence.Entity
// public class Product extends Entity {
// 	
// 	private String name;
// 	private boolean flag;
// 	
// 	public void setName(String name) {
// 		this.name = name;
// 	}
// 	
// 	public String getName() {
// 		return name;
// 	}
// 	
// 	public void setFlag(boolean flag) {
// 		this.flag = flag;
// 	}
// 	
// 	public boolean getFlag() {
// 		return flag;
// 	}
// 	
// }


// Path: spec/lib/generators/scaffold_generator/repository_generator/templates/ProductRepositoryImpl.java
import javax.persistence.EntityManager;
import br.com.caelum.vraptor.ioc.Component;
import app.models.Product;

package app.repositories;



@Component
public class ProductRepositoryImpl 
    extends Repository<Product, Long>
    implements ProductRepository {

	public ProductRepositoryImpl(EntityManager entityManager) {