null « Schema « JPA Q&A





1. schemaExportTask & ON DELETE CASACDE/SET NULL    forum.hibernate.org

Newbie Joined: Sun Jan 18, 2004 9:52 am Posts: 11 Hi, I am using the schemaExportTask, and I am having difficulty working out how to get the foreign key constraints to specify ON DELETE CASCADE or ON DELETE SET NULL. I looked at the following post http://forum.hibernate.org/viewtopic.php?t=341&highlight=schemaexporttask+delete+cascade - and can see what the issues are from hibernate's perspective - i.e. if ...

2. Getting null pointer when running SchemaExport with Ant    forum.hibernate.org

Newbie Joined: Tue Apr 18, 2006 4:45 am Posts: 1 Hi guys, I'm trying to run SchemaExport with ant and I keep getting a java.lang.NullPointerException. It seems to me that SchemaExport is looking for some foreign keys in the mapping file. I've commented out all the other mappings to simplify the schema generation but it doesn't seem to matter which mapping ...