Subject [IBO] TIB_Transaction in master detail

I use two TIB_Query components in master-detail relation with one
TIB_Transaction. The detail table has a FK with the PK of the master table.
Is it possible with only one TIB_Transaction to commit the detail table
before master table, cause the other way around there is a key vialation

Best regards - Ulrich