Ah, there must be a setting for it.... There is a simple way to find these settings. Look at your jbosscmp-jdbc.xml file. If this was properly made (perhaps by XDoclet) then it should have a dtd. This DTD will give you a webpage, here's what the address should be...
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd The parser uses the document at this location to verify your file, therefore, any options that are allowed in the file will be defined in this page. Search this page for "null" and you should find what you're looking for. If you can't read a DTD, you should take a few minutes to learn the basics, but pretty much, you need to write something that looks like this... <cmp-field> <field-name>id</field-name> <column-name>fid</column-name> <not-null /> </cmp-field> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885480#3885480 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885480 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user