|Re: [eclipselink-users] Not quoting NaN float value|
What database are you using? Are you using binding? Binding is used by default, and should not print any parameter values in the SQL. Have you disabled binding? stryon wrote: > > I have an eclipselink entity that has a float value that is being mapped > to a binary_float in the database. If another source writes a NaN to that > field the entity is properly updated and I can read it out. If I then turn > around and update a different value it almost works, but not quite. The > generated SQL looks something like "height = NAN" when it needs to look > like "height = 'NAN'". I am guessing that this is because it is a numeric > value that doesn't usually need quotes. Is there a way to get it to quote > the NAN so it will work? > ----- http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland http://www.eclipse.org/eclipselink/ EclipseLink , http://www.oracle.com/technology/products/ias/toplink/ TopLink Wiki: http://wiki.eclipse.org/EclipseLink EclipseLink , http://wiki.oracle.com/page/TopLink TopLink Forums: http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , http://www.nabble.com/EclipseLink-f26430.html EclipseLink Book: http://en.wikibooks.org/wiki/Java_Persistence Java Persistence -- View this message in context: http://old.nabble.com/Not-quoting-NaN-float-value-tp28560611p28599689.html Sent from the EclipseLink - Users mailing list archive at Nabble.com.
Back to the top