Skip to content

Instantly share code, notes, and snippets.

@tassioauad
Created November 12, 2016 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tassioauad/4db020d67f4f1796d71e499ff0bc664f to your computer and use it in GitHub Desktop.
Save tassioauad/4db020d67f4f1796d71e499ff0bc664f to your computer and use it in GitHub Desktop.
public class SalesAccountingModel {
private EntityManager entityManager;
public SalesAccountingModel(EntityManager entityManager) {
this.entityManager = entityManager;
}
public List listAll(Date initialDate, Date finalDate) {
StoredProcedureQuery storedProcedureQuery = entityManager.createStoredProcedureQuery("SALES_ACCOUNTING", SalesAccounting.class); }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment