Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
17. Jun 2008, 15:15 CET | Link

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?

2 Replies:
18. Jun 2008, 07:38 CET | Link

What are you expecting in your fields definition?

 

Best regards,
Joshua

Visit my blog.

18. Jun 2008, 11:55 CET | Link

NOT NULL - without default value NULL. It seems extremely contradictionary to me to set the default value to a not allowed one..