title: Hibernate : GenericGenerator Details
body: <p>I am learning Hibernate ....</p>
  
  <pre><code>@Id
  @GeneratedValue(generator="foreign")
  @GenericGenerator(name="foreign", strategy="foreign", parameters={
          @Parameter(name="property" ,value="company")
  })
  public Long getId() {
      return id;
  }
  </code></pre>
  
  <p>In the above code i understand most of the things except these lines </p>
  
  <pre><code>parameters={
          @Parameter(name="property" ,value="company")
  }
  </code></pre>
  
  <p>Please help</p>