title: "i want certain columns in entity class to not to create columns in table,is there any solution or annotation for that"
body: <pre><code>@Entity
  @Table(name="PassengersDetails")
  public class PassengerDO {
      @Id
      @GenericGenerator(name="inc",strategy="increment")
      @GeneratedValue(generator="inc")
      @Column(name="PassengerId")
      private int PassengerId;
  
      @Column(name="PassengerName")
      private String PassengerName;
  
      @Column(name="PassengerAddress")
      private String PassengerAddress;
  
      @Column(name="PassengerPhoneNo")
      private String PassengerPhoneNo;
  
      @Column(name="PassengerPassword")
      private String PassengerPassword;
  
      @Column(name="PassengerConfirmPassword")
      private String PassengerConfirmPassword;
  </code></pre>
  
  <blockquote>
    <p>" certain columns in entity class should not to create columns in the
    table, is there any solution or annotation for that"</p>
  </blockquote>
  
  <p>in my entity class i dont want to store all the columns in a table,i want ignore specific columns, can you help me to approch this problem</p>