Search code examples
javasql-serverhibernatepojo

I have numeric type in sql what is the corresponding mapping data type in pojo class


Hai I am using MS SQL SERVER and hibernate. I had declared numeric data type in MS SQL SERVER for a particular column. Can anyone help me with what type should I declare for this type(numeric) in pojo class for mapping.


Solution

  • please go through the below for numeric data types

    http://msdn.microsoft.com/en-in/library/ms187752.aspx