-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: CONVERT_IMPLICIT
PostPosted: Thu Dec 04, 2008 9:10 am 
Newbie

Joined: Thu Dec 04, 2008 9:01 am
Posts: 1
Hello,

I am using Hibernate 3 + Annotions with JSE 6U10 against MSSQL Server 2000.

I have a very simple schema, like:

Market nvarchar(64) not null,
Price real not null,

and a POJO that corresponds: for nvarchar I use String, and for price double.

When analyzing the sql server logs, we have found that every single column has a CONVERT_IMPLICIT in the Prepared Statement.
Even though I have a nvarchar of length 64, the PS shows (@P0 nvarchar(4000)), the doubles also, even the ints have them.

Is there a way to configure my POJO via an annotation, or Hibernate itself so that no CONVERT_IMPLICIT happens on the server side?
Is there any performance impact of the use of CONVERT_IMPLICIT by the server?

Thank you


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.