I'm looking for software that will accept as input a csv file and a database schema and will populate the database with the data in the csv. I'm not talking about something simple that will fill a single table, but rather something that can work foreign key constraints and can respect one-to-many, many-to-one and many-to-many relations.