• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
migrations and relationships...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Deployed app performance degrades over time
  • Next by Date: Date vs. Timestamp w/MySQL
  • Previous by thread: Re: Deployed app performance degrades over time
  • Next by thread: Date vs. Timestamp w/MySQL
  • Index(es):
    • Date
    • Thread