ms sql server with Hibernate

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ragini3
    New Member
    • Apr 2010
    • 1

    ms sql server with Hibernate

    Hi All,

    I am using hibernate 3, database is MS SQL server 2005.
    When I am inserting value in the database having varchar data type through hibernate , value is stored with trailing spaces upto the length of column.

    Please reply if any one know the solution.
    Awaiting for propmt reply!

    Thanks and Regards,
    Ragini Marwadkar.
  • TamusJRoyce
    New Member
    • Apr 2008
    • 108

    #2
    Does trying an nvarchar instead of a varchar produce the same result? Not sure if this helps, but worth seeing if it is a unicode issue.

    Comment

    Working...