File tree Expand file tree Collapse file tree
JSqlServerBulkInsert/src/test/java/de/bytefish/jsqlserverbulkinsert/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ public class PersonMapping extends AbstractMapping<Person> {
1111 public PersonMapping () {
1212 super ("dbo" , "UnitTest" );
1313
14- mapString ("FirstName" , Person ::getFirstName );
15- mapString ("LastName" , Person ::getLastName );
14+ mapNvarchar ("FirstName" , Person ::getFirstName );
15+ mapNvarchar ("LastName" , Person ::getLastName );
1616 mapDate ("BirthDate" , Person ::getBirthDate );
1717 }
1818}
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private class StringEntityMapping extends AbstractMapping<StringEntity> {
3535 public StringEntityMapping () {
3636 super ("dbo" , "UnitTest" );
3737
38- mapString ("StringValue" , StringEntity ::getValue );
38+ mapNvarchar ("StringValue" , StringEntity ::getValue );
3939 }
4040
4141 }
You can’t perform that action at this time.
0 commit comments