@Test(expected = UnsupportedOperationException.class) public void testRefresh1() { em.refresh(widget); }
@Override public void refresh(final Object entity) { throw new UnsupportedOperationException(); }
MinijaxEntityManager implements javax.persistence.EntityManager, AutoCloseable { @Override public void refresh(final Object entity) { throw new UnsupportedOperationException(); } }
MinijaxEntityManager implements javax.persistence.EntityManager, AutoCloseable { @Override public void refresh(final Object entity) { throw new UnsupportedOperationException(); } MinijaxEntityManager(
            final MinijaxEntityManagerFactory emf,
            final MinijaxMetamodel metamodel,
            final SqlDialect dialect,
            final Connection connection); }
MinijaxEntityManager implements javax.persistence.EntityManager, AutoCloseable { @Override public void refresh(final Object entity) { throw new UnsupportedOperationException(); } MinijaxEntityManager(
            final MinijaxEntityManagerFactory emf,
            final MinijaxMetamodel metamodel,
            final SqlDialect dialect,
            final Connection connection); @Override EntityManagerFactory getEntityManagerFactory(); @Override MinijaxMetamodel getMetamodel(); SqlDialect getDialect(); Connection getConnection(); @Override EntityTransaction getTransaction(); @Override void persist(final Object entity); @Override T merge(final T entity); @Override void remove(final Object entity); @Override T find(final Class<T> entityClass, final Object primaryKey); @Override MinijaxQuery<T> createQuery(final String qlString, final Class<T> resultClass); @Override MinijaxQuery<T> createQuery(final CriteriaQuery<T> criteriaQuery); @Override MinijaxQuery<T> createNamedQuery(final String name, final Class<T> resultClass); @Override MinijaxQuery<?> createNamedQuery(final String name); @Override void flush(); @Override void close(); @Override MinijaxCriteriaBuilder getCriteriaBuilder(); @Override T find(final Class<T> entityClass, final Object primaryKey, final Map<String, Object> properties); @Override T find(final Class<T> entityClass, final Object primaryKey, final LockModeType lockMode); @Override T find(final Class<T> entityClass, final Object primaryKey, final LockModeType lockMode, final Map<String, Object> properties); @Override T getReference(final Class<T> entityClass, final Object primaryKey); @Override void setFlushMode(final FlushModeType flushMode); @Override FlushModeType getFlushMode(); @Override void lock(final Object entity, final LockModeType lockMode); @Override void lock(final Object entity, final LockModeType lockMode, final Map<String, Object> properties); @Override void refresh(final Object entity); @Override void refresh(final Object entity, final Map<String, Object> properties); @Override void refresh(final Object entity, final LockModeType lockMode); @Override void refresh(final Object entity, final LockModeType lockMode, final Map<String, Object> properties); @Override void clear(); @Override void detach(final Object entity); @Override boolean contains(final Object entity); @Override LockModeType getLockMode(final Object entity); @Override void setProperty(final String propertyName, final Object value); @Override Map<String, Object> getProperties(); @Override Query createQuery(final String qlString); @Override @SuppressWarnings("rawtypes") Query createQuery(final CriteriaUpdate updateQuery); @Override @SuppressWarnings("rawtypes") Query createQuery(final CriteriaDelete deleteQuery); @Override Query createNativeQuery(final String sqlString); @Override @SuppressWarnings("rawtypes") Query createNativeQuery(final String sqlString, final Class resultClass); @Override Query createNativeQuery(final String sqlString, final String resultSetMapping); @Override StoredProcedureQuery createNamedStoredProcedureQuery(final String name); @Override StoredProcedureQuery createStoredProcedureQuery(final String procedureName); @Override @SuppressWarnings("rawtypes") StoredProcedureQuery createStoredProcedureQuery(final String procedureName, final Class... resultClasses); @Override StoredProcedureQuery createStoredProcedureQuery(final String procedureName, final String... resultSetMappings); @Override void joinTransaction(); @Override boolean isJoinedToTransaction(); @Override T unwrap(final Class<T> cls); @Override Object getDelegate(); @Override boolean isOpen(); @Override EntityGraph<T> createEntityGraph(final Class<T> rootType); @Override EntityGraph<?> createEntityGraph(final String graphName); @Override EntityGraph<?> getEntityGraph(final String graphName); @Override List<EntityGraph<? super T>> getEntityGraphs(final Class<T> entityClass); }
MinijaxEntityManager implements javax.persistence.EntityManager, AutoCloseable { @Override public void refresh(final Object entity) { throw new UnsupportedOperationException(); } MinijaxEntityManager(
            final MinijaxEntityManagerFactory emf,
            final MinijaxMetamodel metamodel,
            final SqlDialect dialect,
            final Connection connection); @Override EntityManagerFactory getEntityManagerFactory(); @Override MinijaxMetamodel getMetamodel(); SqlDialect getDialect(); Connection getConnection(); @Override EntityTransaction getTransaction(); @Override void persist(final Object entity); @Override T merge(final T entity); @Override void remove(final Object entity); @Override T find(final Class<T> entityClass, final Object primaryKey); @Override MinijaxQuery<T> createQuery(final String qlString, final Class<T> resultClass); @Override MinijaxQuery<T> createQuery(final CriteriaQuery<T> criteriaQuery); @Override MinijaxQuery<T> createNamedQuery(final String name, final Class<T> resultClass); @Override MinijaxQuery<?> createNamedQuery(final String name); @Override void flush(); @Override void close(); @Override MinijaxCriteriaBuilder getCriteriaBuilder(); @Override T find(final Class<T> entityClass, final Object primaryKey, final Map<String, Object> properties); @Override T find(final Class<T> entityClass, final Object primaryKey, final LockModeType lockMode); @Override T find(final Class<T> entityClass, final Object primaryKey, final LockModeType lockMode, final Map<String, Object> properties); @Override T getReference(final Class<T> entityClass, final Object primaryKey); @Override void setFlushMode(final FlushModeType flushMode); @Override FlushModeType getFlushMode(); @Override void lock(final Object entity, final LockModeType lockMode); @Override void lock(final Object entity, final LockModeType lockMode, final Map<String, Object> properties); @Override void refresh(final Object entity); @Override void refresh(final Object entity, final Map<String, Object> properties); @Override void refresh(final Object entity, final LockModeType lockMode); @Override void refresh(final Object entity, final LockModeType lockMode, final Map<String, Object> properties); @Override void clear(); @Override void detach(final Object entity); @Override boolean contains(final Object entity); @Override LockModeType getLockMode(final Object entity); @Override void setProperty(final String propertyName, final Object value); @Override Map<String, Object> getProperties(); @Override Query createQuery(final String qlString); @Override @SuppressWarnings("rawtypes") Query createQuery(final CriteriaUpdate updateQuery); @Override @SuppressWarnings("rawtypes") Query createQuery(final CriteriaDelete deleteQuery); @Override Query createNativeQuery(final String sqlString); @Override @SuppressWarnings("rawtypes") Query createNativeQuery(final String sqlString, final Class resultClass); @Override Query createNativeQuery(final String sqlString, final String resultSetMapping); @Override StoredProcedureQuery createNamedStoredProcedureQuery(final String name); @Override StoredProcedureQuery createStoredProcedureQuery(final String procedureName); @Override @SuppressWarnings("rawtypes") StoredProcedureQuery createStoredProcedureQuery(final String procedureName, final Class... resultClasses); @Override StoredProcedureQuery createStoredProcedureQuery(final String procedureName, final String... resultSetMappings); @Override void joinTransaction(); @Override boolean isJoinedToTransaction(); @Override T unwrap(final Class<T> cls); @Override Object getDelegate(); @Override boolean isOpen(); @Override EntityGraph<T> createEntityGraph(final Class<T> rootType); @Override EntityGraph<?> createEntityGraph(final String graphName); @Override EntityGraph<?> getEntityGraph(final String graphName); @Override List<EntityGraph<? super T>> getEntityGraphs(final Class<T> entityClass);  }