PostgreSQL/PostGIS Named Connection Example

This is an example of a named connection to a PostGreSQL/PostGIS table.


<?xml version="1.0" encoding="UTF-8"?>
<NamedConnection version="MXP_NamedResource_1_5" xmlns="http://www.mapinfo.com/mxp">
<DBConnection dbType="postgis">
          <ConnectionName>Connection_1</ConnectionName>
           <JDBCDriverParameters>
                <JDBCUrl>@jdbcurl@</JDBCUrl>
                <DriverPropertySet>
                     <Property name="user" value="@user@"/>
                     <Property name="password" value="@password@"/>
                </DriverPropertySet>
           </JDBCDriverParameters>
     </DBConnection>
</NamedConnection>