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.
| Online: | 22 Members of 4546 |
| Forum: Seam Users |
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?
What are you expecting in your fields definition?
Best regards,
Joshua
Visit my blog.
NOT NULL - without default value NULL. It seems extremely contradictionary to me to set the default value to a not allowed one..