How do I use asadmin to add properties to a JCA RA pool?

This question was originally posed in this thread. Jane provided the answer:

You can do this using the

asadmin set <dotted-name>
command, i.e.:

asadmin set server.resources.jdbc-connection-pool.<pool-name>.property.<property-name>=<property-value>

The same syntax is used for adding a property to connector-connection-pool.