Someone queried the consituents of dishwasher tablets. There are agents to "bleach", surfactants, and oxidisers e.g. sodium carbonate, sodium tripolyphosphate, sodium percarbonate and alcohol ethoxylates. Much of their oil removing properties are due to enzymes such as subtiliisins. However the enzymes need cool water, being deactivated in boiling water.
Despite Duncan's advised precautions, I would advise against using "hot & strong" caustic soda. It is very corrosive.
As before, it's safer to use either Orange Swarfega or a couple of dishwasher tablets in an old container big enough for the parts. Start with warm water to preserve the enzymes then if you can, boil the solution – if that's not possible then just steep in very hot water. At risk of repetition, if you don't get old oil out of seams, rivets etc, it can ruin your subsequent painting.