This was my understanding of doing this with ejbCreate():
If I want the default value to be used, the record is inserted via an ejbCreate() method where the field is missing. However, doing this, the db field is still empty after the insert and no default value was created for that field.
I tried to discover the insert statement but the DEBUG mode of org.jboss.ejb.plugins.cmp does only show SELECT queries. But I am pretty sure that JBoss inserts NULL for this field (what prevents the da to set the default value).
Any hints? Is this a JBoss configuration issue?
Thanks,
-marek
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user