title: HIbernate one-to-one annotation isn't generating foreign key GerericGenerator in dependent table
body: <p>I am trying to create OneToOne relation between a Person and Auth table. The problem is when the DB table "Auth" is generated, I'm not seeing the foreign key in the AUTH table that should reference Person. The object is to have the Auth table use the same Primary Key of the Person Table. </p>
  
  <pre><code> @MappedSuperclass
   public abstract class DomainBase {
      @Id
      @GeneratedValue(strategy = GenerationType.SEQUENCE) 
      private Long id;
  
      @Version
      @Column(name="OPLOCK")
      private Integer version;
   }
  
  
   @Entity
   @Table(name = "person")  
   public class Person extends DomainBase {
          @OneToOne(cascade=CascadeType.ALL)
              @JoinColumn(name="auth_id")
          private Auth auth;
   }
  
  
   @Entity
   public class Auth {
      @Id
      @GeneratedValue(generator="foreign")
      @GenericGenerator(name="foreign", strategy = "foreign", parameters={
        @Parameter(name="property", value="person")
      })
      @Column(name="person_id")
      private int personId;
      ---------------------------------
  
      @OneToOne(cascade = CascadeType.ALL)
      @PrimaryKeyJoinColumn 
      private Person person;
   }
  </code></pre>
  
  <p>My Database scripts after hibernate DB generation. </p>
  
  <pre><code> CREATE TABLE auth
   (
     person_id integer NOT NULL,
     activate boolean,
     activationid character varying(255),
     last_login_attempt_date timestamp without time zone,
     last_login_attempt_timezone character varying(255),
     last_login_date timestamp without time zone,
     last_login_timezone character varying(255),
     nonlocked boolean,
     num_login_attempts integer,
     CONSTRAINT auth_pkey PRIMARY KEY (person_id),
     CONSTRAINT uk_d68auh3xsosyrjw3vmwseawvt UNIQUE (activationid)
   )
   WITH (
     OIDS=FALSE
   );
   ALTER TABLE auth
     OWNER TO postgres;
  </code></pre>