I don't see any reason to change the partition dynamically. I suppose that the 2 uses of the sdo will be on separate windows, and in these you can select a partition.
An alternative is to use the 'alias'-function of the appserver-partition : you can let listen any partition to a different name, but be carefull : when they are both connected to the same nameserver, the server will try to enable load balancing, and if you don't have that licence, no partition is actually active.