@Test public void test() { assertEquals(5, sut.execute(null).size()); }
@SuppressWarnings("unchecked") @Override public List<Serializable> execute(final String inEntityName) { return getEntityManager().createQuery("SELECT " + fieldName + " FROM " + entityName).getResultList(); }
GetSerializableField extends BaseArgDomainMapper<String, List<Serializable>> { @SuppressWarnings("unchecked") @Override public List<Serializable> execute(final String inEntityName) { return getEntityManager().createQuery("SELECT " + fieldName + " FROM " + entityName).getResultList(); } }
GetSerializableField extends BaseArgDomainMapper<String, List<Serializable>> { @SuppressWarnings("unchecked") @Override public List<Serializable> execute(final String inEntityName) { return getEntityManager().createQuery("SELECT " + fieldName + " FROM " + entityName).getResultList(); } GetSerializableField(final String inEntityName, final String inFieldName); }
GetSerializableField extends BaseArgDomainMapper<String, List<Serializable>> { @SuppressWarnings("unchecked") @Override public List<Serializable> execute(final String inEntityName) { return getEntityManager().createQuery("SELECT " + fieldName + " FROM " + entityName).getResultList(); } GetSerializableField(final String inEntityName, final String inFieldName); @SuppressWarnings("unchecked") @Override List<Serializable> execute(final String inEntityName); }
GetSerializableField extends BaseArgDomainMapper<String, List<Serializable>> { @SuppressWarnings("unchecked") @Override public List<Serializable> execute(final String inEntityName) { return getEntityManager().createQuery("SELECT " + fieldName + " FROM " + entityName).getResultList(); } GetSerializableField(final String inEntityName, final String inFieldName); @SuppressWarnings("unchecked") @Override List<Serializable> execute(final String inEntityName);  }