title: Am i working on JPA or Hibernate in the use case when i import JPA annotations and just use single hibernate property?
body: <p>I can see similar question in stackoverflow but example he quoted is quite different and answers were given in relation to same.</p>
  
  <p>In our project i have JPA annotations</p>
  
  <pre><code>import javax.persistence.AttributeOverride;
  import javax.persistence.AttributeOverrides;
  import javax.persistence.Basic;
  import javax.persistence.CascadeType;
  import javax.persistence.CollectionTable;
  import javax.persistence.Column;
  import javax.persistence.ElementCollection;
  import javax.persistence.Entity;
  import javax.persistence.Id;
  import javax.persistence.JoinColumn;
  import javax.persistence.OneToOne;
  import javax.persistence.Table;
  import javax.persistence.EntityManager;
  import javax.persistence.PersistenceContext;
  import javax.persistence.Query;
  </code></pre>
  
  <p>In Persistance.xml i have hibernate properties too:</p>
  
  <pre><code>&lt;persistence-unit name="IntegratorMasterdataDS" transaction-type="JTA" &gt;
              &lt;provider&gt;org.hibernate.ejb.HibernatePersistence&lt;/provider&gt;
  &lt;!--            &lt;jta-data-source&gt;java:/datasources/Ifs9ErgointDS1&lt;/jta-data-source&gt;  --&gt;
                  &lt;jta-data-source&gt;java:/datasources/IfsDS&lt;/jta-data-source&gt;
          &lt;properties&gt;
              &lt;property name="hibernate.archive.autodetection" value="class" /&gt;
              &lt;property name="hibernate.show_sql" value="false" /&gt;
           &lt;property name="hibernate.hbm2ddl.auto" value="create" /&gt;
          &lt;/properties&gt;
      &lt;/persistence-unit&gt;
  
     @PersistenceContext(unitName = "IntegratorMasterdataDS")
     protected EntityManager em;
     em.persist
     em.save
     em.flush
     em.find
     em.merge
  </code></pre>
  
  <p>I deploy in Wildfly which uses Hibernate as JPA implementation.</p>
  
  <p>When i am being asked are you using JPA or Hibernate what should i reply?</p>
  
  <p>As per current understanding if we are using single Hibernate property in code or persistance.xml then we can say that we are using Hibernate as it makes project hibernate dependent. Is this understanding fine?</p>
  
  <p>If not, then what more should i add in project to say that i am using hibernate?</p>