I tried to generate entities from tables in eclipse via jpa tools. (the image is below)
while converting, jpa tools define object types for fields whose type are nvarchar.
you can see database definition below.
how can i fix the type of nvarchar fields , as you can see, they should be string.
second problem is that by default, eclipse set primitive types for fields of a table when generating entitites from tables. How can i set object types for fields , for example i want to use Integer type instead of int type.