@Test(expected = UnsupportedOperationException.class) public void testaddNamedQuery() { emf.addNamedQuery(null, null); }
@Override public void addNamedQuery(final String name, final Query query) { throw new UnsupportedOperationException(); }
MinijaxEntityManagerFactory implements javax.persistence.EntityManagerFactory, AutoCloseable { @Override public void addNamedQuery(final String name, final Query query) { throw new UnsupportedOperationException(); } }
MinijaxEntityManagerFactory implements javax.persistence.EntityManagerFactory, AutoCloseable { @Override public void addNamedQuery(final String name, final Query query) { throw new UnsupportedOperationException(); } @SuppressWarnings({ "unchecked", "rawtypes" })  MinijaxEntityManagerFactory(final MinijaxPersistenceUnitInfo unitInfo, final Map<String, Object> properties); }
MinijaxEntityManagerFactory implements javax.persistence.EntityManagerFactory, AutoCloseable { @Override public void addNamedQuery(final String name, final Query query) { throw new UnsupportedOperationException(); } @SuppressWarnings({ "unchecked", "rawtypes" })  MinijaxEntityManagerFactory(final MinijaxPersistenceUnitInfo unitInfo, final Map<String, Object> properties); MinijaxPersistenceUnitInfo getPersistenceUnitInfo(); @Override MinijaxMetamodel getMetamodel(); @Override Map<String, Object> getProperties(); @Override MinijaxEntityManager createEntityManager(); @Override void close(); @Override @SuppressWarnings("rawtypes") EntityManager createEntityManager(final Map map); @Override EntityManager createEntityManager(final SynchronizationType synchronizationType); @Override @SuppressWarnings("rawtypes") EntityManager createEntityManager(final SynchronizationType synchronizationType, final Map map); @Override CriteriaBuilder getCriteriaBuilder(); @Override boolean isOpen(); @Override Cache getCache(); @Override PersistenceUnitUtil getPersistenceUnitUtil(); @Override void addNamedQuery(final String name, final Query query); @Override T unwrap(final Class<T> cls); @Override void addNamedEntityGraph(final String graphName, final EntityGraph<T> entityGraph); }
MinijaxEntityManagerFactory implements javax.persistence.EntityManagerFactory, AutoCloseable { @Override public void addNamedQuery(final String name, final Query query) { throw new UnsupportedOperationException(); } @SuppressWarnings({ "unchecked", "rawtypes" })  MinijaxEntityManagerFactory(final MinijaxPersistenceUnitInfo unitInfo, final Map<String, Object> properties); MinijaxPersistenceUnitInfo getPersistenceUnitInfo(); @Override MinijaxMetamodel getMetamodel(); @Override Map<String, Object> getProperties(); @Override MinijaxEntityManager createEntityManager(); @Override void close(); @Override @SuppressWarnings("rawtypes") EntityManager createEntityManager(final Map map); @Override EntityManager createEntityManager(final SynchronizationType synchronizationType); @Override @SuppressWarnings("rawtypes") EntityManager createEntityManager(final SynchronizationType synchronizationType, final Map map); @Override CriteriaBuilder getCriteriaBuilder(); @Override boolean isOpen(); @Override Cache getCache(); @Override PersistenceUnitUtil getPersistenceUnitUtil(); @Override void addNamedQuery(final String name, final Query query); @Override T unwrap(final Class<T> cls); @Override void addNamedEntityGraph(final String graphName, final EntityGraph<T> entityGraph);  }