On Mon, Apr 6, 2009 at 3:29 PM, Rickard Öberg <[email protected]> wrote:

> the EntityTypeRegistry to find out the type of the property. The value would
> then go Long->String->Long, which is not superefficient.
>
> This is certainly doable though, and the benefits of it might be more
> important.

Could we handle primitive types differently??

For instance;

public interface PersistentState
{
    Object rawObject();
    String toPersistable();
}


Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to