Test if the DataSource is H2 before inserting H2 spatial
Check if local or external database before registering spatial