2 Replies Latest reply on Jun 18, 2008 11:55 AM by Ramon Vega

    Hibernate: NOT NULL DEFAULT NULL crazyness

    Ramon Vega Newbie

      Hibernate generates schizo database fields like:
      id BIGINT(20) NOT NULL DEFAULT NULL AUTO_INCREMENT
      (at least with MySQL dialect)
      It doesn't help to annotate the column with
      @Column(name="id", nullable=false)
      Does anybody have a clue how to prevent such schizo column declarations?