I have a simple query, It might be answered before but I didn't find the precise answer for the same.
My question is:
I created a table using JPA through entity. Now I shows string fields as
varchar(255). Now I'm wondering that what will happen when I'll save some data in that field of size let say 10? Will it save that data in 10 bytes or it will use 255 bytes?
Any clarification will be appreciated.