After the ebjCreate() JBoss issue a INSERT SQL statement. As your address_id is probably marked as 'not null' hence the error.
Hamilton Ver�ssimo http://www.apache.org/~hammett/ -----Mensagem original----- De: Steven Nakhla [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 10 de novembro de 2003 12:51 Para: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Assunto: [Xdoclet-user] More CMR problems First, thanks to all who responded regarding my CMR problems with XDoclet/JBoss. As advised, I have used Middlegen to automatically create my entity beans from my database table. These beans represent a person, and a street address. However, now I'm receiving a different error from what I received before. I have run XDoclet on the middlegen-generated files and received the appropriate interfaces, classes, etc. I have a simple test client that creates a street address, and then attempts to create a person and assign that address to the person. However, when I try and assign the address I get the following exception: ------------------------------------------------------- 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/ _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
