migrations and relationships...
migrations and relationships...
- Subject: migrations and relationships...
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 27 Sep 2008 20:17:39 -0700 (PDT)
I have a table (employee) with a to many with PersonlMetaData. I am using:
ERXJDBCUtilities.executeUpdate(database.adaptorChannel(), "INSERT INTO t_employee (c_firstname, c_lastname, c_gender, c_is_current) VALUES ('Ted', 'Pet', 'Male', true)");
to insert into the table in the migration. I don't understand how to insert into the PersonalMetaData table that relates to employee. I realize that I could set up a trigger in the database (postgresql) so that the metadata is automatically created on the insert into the employee table. but I don't want the trigger to hang around after the creation and execution of the migration.
Thanks,
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden