On and after the date the boundary change is effected, the superior court in the transferring county shall retain jurisdiction in all cases pending in a session of such court which is located within the boundaries of the territory which is transferred immediately prior to its transfer.
Ca. Gov. Code § 23295