...
Code Block |
---|
|
<spatial:spatialengine id="oracle">
<dbtype>oracle</dbtype>
<host>hostname</host>
<port>1521</port>
<user>username</user>
<passwd>password</passwd>
<schema>SCHEMA</schema>
<instance>instance</instance>
</spatial:spatialengine>
|
Connecting to Microsoft SQL Server
Code Block |
---|
|
<spatial:spatialengine id="sqlserver">
<dbtype>sqlserver</dbtype>
<host>hostname</host>
<port>1433</port>
<user>username</user>
<passwd>password</passwd>
<database>password</database>
<schema>SCHEMA</schema>
<geometrymetadatatable>v_geometry_columns</geometrymetadatatable>
</spatial:spatialengine>
|
Connecting to Microsoft SQL Server using JNDI
Code Block |
---|
|
<spatial:spatialengine id="sqlserver">
<dbtype>sqlserverjndi</dbtype>
<jndiReferenceName>java:comp/env/jdbc/spatialDS</jndiReferenceName>
</spatial:spatialengine>
|
Connecting to a Shapefile directory
Code Block |
---|
|
<spatial:spatialengine id="shapefile">
<dbtype>shapefiledir</dbtype>
<url><![CDATA[file:C:/data_dir/data]]></url>
<memorymapped>true</memorymapped>
</spatial:spatialengine>
|
...