File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,10 +113,12 @@ private class MySampleEntityMapping extends AbstractMapping<MySampleEntity> {
113113
114114### Order of Columns ###
115115
116- If the connected user is granted access to the SQL Server Information Schema, then all mapped columns can
117- be sorted automatically before bulk writing the data. But if the user is not granted access to the Information
118- Schema, ** then the mapping and destination schema have to match, and the fields must be mapped in the same order
119- as the destination table** .
116+ The `` SqlServerBulkCopy `` implementation of the Microsoft JDBC driver requires, that the destination schema and
117+ mapping have same column order. This is done automatically by querying the metadata of the table and sorting your
118+ mappings, before inserting the data.
119+
120+ If this cannot be done automatically, because the JDBC driver does not return the metadata, ** then the mapping and
121+ destination schema have to match, and the fields must be mapped in the same order as the destination table** .
120122
121123## Getting Started ##
122124
You can’t perform that action at this time.
0 commit comments