Hi, I'm getting trapped by validation. Thing being that AttributeImpl constructor calls Types.validate(this, getValue()), which fails to validate, for example, a double value. Example: I've inserted a double attribute in sde with the value 0.7 The attribute has a length "restriction" (aka, Filter) of 15. Now, when I fetch the attribute from the database, it's 0.700000000000001, hence the validation fails.
Question is: - does anybody got trapped in the same way? how to solve it? - should I check the attribute content is valid before creating the Attribute? - should that kind of validation not occur at all when fetching data, but just when inserting/modifying? hrmmm... Gabriel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
