-->
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: sql-query parsing bug using UDT static methods
PostPosted: Wed Nov 04, 2009 5:31 am 
Newbie

Joined: Thu Dec 13, 2007 3:13 pm
Posts: 9
hi there,

i currently encountered a bug when parsing sql-query data that contains static methods
of user defined types.
e.g.

you have an sql query that generates a geography (-> sql server 2008) type using the static
Code:
geography::STGeomFromText(:input, 4326)


here STGeomFromText gets treated as named parameter which isnĀ“t one actually.
does anyone have a workaroud for this as i do not want to create a stored procedure
within the database to hide this stuff from nhibernate.
(btw, i use nhibernate.spatial in the rest of the project, but there is a special case
that is not yet supported withing nhsp, so i decided to use an sql-query (which is
much more efficient in my special case)

thanks, j.


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.