Skip to content

Commit

Permalink
case is important, make geometry default column uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed Jan 29, 2021
1 parent 802ef3d commit 5dae2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleproviderconnection.cpp
Expand Up @@ -216,7 +216,7 @@ void QgsOracleProviderConnection::createVectorTable( const QString &schema,
// Set geometry column and if it's not aspatial
if ( wkbType != QgsWkbTypes::Type::Unknown && wkbType != QgsWkbTypes::Type::NoGeometry )
{
newUri.setGeometryColumn( options->value( QStringLiteral( "geometryColumn" ), QStringLiteral( "geom" ) ).toString() );
newUri.setGeometryColumn( options->value( QStringLiteral( "geometryColumn" ), QStringLiteral( "GEOM" ) ).toString() );
// set wkbType (There is no way to guess geometry type from database is there is no data)
newUri.setWkbType( wkbType );
}
Expand Down

0 comments on commit 5dae2f5

Please sign in to comment.