title: Error processing condition on org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapter
body: <p>So this is Error Message :</p>
  <blockquote>
  <p>java.lang.IllegalStateException: Failed to load ApplicationContext
  Caused by: java.lang.IllegalStateException:</p>
  </blockquote>
  <blockquote>
  <p>Error processing condition on org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration.jpaVendorAdapter
  Caused by: java.lang.IllegalStateException:</p>
  </blockquote>
  <blockquote>
  <p>Failed to introspect Class [org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration] from ClassLoader [sun.misc.Launcher$AppClassLoader@42a57993]
  Caused by: java.lang.NoClassDefFoundError: org/hibernate/boot/model/naming/PhysicalNamingStrategy
  Caused by: java.lang.ClassNotFoundException: org.hibernate.boot.model.naming.PhysicalNamingStrategy</p>
  </blockquote>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
      xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;parent&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
          &lt;version&gt;2.2.4.RELEASE&lt;/version&gt;
          &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
      &lt;/parent&gt;
      &lt;groupId&gt;com.example.test1&lt;/groupId&gt;
      &lt;artifactId&gt;test1&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;test1&lt;/name&gt;
      &lt;description&gt;Demo project for Spring Boot&lt;/description&gt;
  
      &lt;properties&gt;
          &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;/dependency&gt;
                  &lt;dependency&gt;
              &lt;groupId&gt;com.h2database&lt;/groupId&gt;
              &lt;artifactId&gt;h2&lt;/artifactId&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
                  
                  &lt;dependency&gt;
                          &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                          &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt;
                          &lt;version&gt;5.2.3.Final&lt;/version&gt;
                          &lt;/dependency&gt;
              
                   &lt;dependency&gt;
                          &lt;groupId&gt;org.hsqldb&lt;/groupId&gt;
                          &lt;artifactId&gt;hsqldb&lt;/artifactId&gt;
                          &lt;scope&gt;runtime&lt;/scope&gt;
                   &lt;/dependency&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;mysql&lt;/groupId&gt;
                          &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
                          &lt;scope&gt;runtime&lt;/scope&gt;
                      &lt;/dependency&gt;
                  &lt;dependency&gt;
              &lt;groupId&gt;org.postgresql&lt;/groupId&gt;
              &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
                  &lt;dependency&gt;
                          &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
                          &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
                          &lt;version&gt;4.1.4.Final&lt;/version&gt;
                  &lt;/dependency&gt;
                  &lt;dependency&gt;
                          &lt;groupId&gt;javax.xml.bind&lt;/groupId&gt;
                          &lt;artifactId&gt;jaxb-api&lt;/artifactId&gt;
                          &lt;version&gt;2.3.0&lt;/version&gt;
                  &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.junit.vintage&lt;/groupId&gt;
                      &lt;artifactId&gt;junit-vintage-engine&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
  &lt;/project&gt;`
  
  @Entity
  @Table(name= &quot;ordertransactions&quot;)
  public class OrderTransaction {
      
      @Id
      @GeneratedValue(strategy=GenerationType.IDENTITY)
      private Long id;
  
      @Column(name=&quot;order_name&quot;,nullable = false)
      private String OrderName;
      
      @OneToMany
       @JoinColumn(name = &quot;Customer_Id&quot;, referencedColumnName = &quot;id&quot;, updatable = true,nullable = false)
       private Customer customer;
       
      
      public OrderTransaction(Long id, String OrderName) {
          this.id = id;
          this.OrderName = OrderName;
      }
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getOrderName() {
          return OrderName;
      }
  
      public void setOrderName(String OrderName) {
          this.OrderName = OrderName;
      }
  
      
  }
  
  
  
  public interface CustomerRepository extends JpaRepository &lt;Customer, Long&gt; {
      @Modifying
      @Query(value =&quot;SELECT ordertransactions.id, Customer.name&quot; +
  &quot;FROM ordertransactions&quot; +
  &quot;INNER JOIN Customer ON orderransactions.id = customer.id;&quot; ,nativeQuery = true)
      int deleteCustomer(Customer Customer); 
      
  @Query(value=&quot;SELECT name, city FROM Customer&quot;)
      Customer findCustomerByName(@Param(&quot;nameCustomer&quot;) String name);
  
  }
  </code></pre>
  <p>so i want to join CustomerId in table ordertransaction, i had solved by myself but i dont found the solution.. please help me.</p>