directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject Re: [Java to LDAP Type Mapping] Double, Long, etc.
Date Wed, 20 Jun 2007 22:24:42 GMT
SNIP

> I would say that you should store float and double as serialized data, 
> and desearialize them. That mean, use Float and Double (they implement 
> serializable, which is not natively supported by double and float). It 
> cost much more time that doing it yourself, but who cares ? As you 
> mentioanned beofre, 98% is String, 1% int, and the remaining is barely 
> totaly boolean.
> 
> Just focus on 99.9 % of the cases, let the 0.1% to freaks :)

Yeah that sounds good.  There are all sorts of query tools that can be applied to restored
DataGraph instances anyways, so that should give us a really solid base anyways.  Someday,
when I'm chilling on a beach in Hawaii with my Laptop, maybe I'll get Freaky and do the other
0.1% :-)

Thanks,
- Ole


Mime
View raw message