polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: Postgresql indexing tests
Date Mon, 24 Oct 2016 14:41:20 GMT
Giving up for now...  I think the general problem is that Identity is a
missing type for the Indexing system, and not so much about the toString()
conversion that seems to have been missed only once.


Cheers
Niclas

On Mon, Oct 24, 2016 at 9:26 PM, Niclas Hedhman <niclas@hedhman.org> wrote:

> The issue in the indexing is that Identity is an unknown type for SQL.
>
> I added that in org.apache.zest.index.sql.support.skeletons.AbstractSQLStartup and
> also added
>
> if( Identity.class.isAssignableFrom( primitiveClass ) )
> {
>     primitiveClass = Identity.class;
> }
> else
>
> in org.apache.zest.index.sql.support.postgresql.PostgreSQLTypeHelper.
> SQLTypeHelperMixin#getSQLType(java.lang.reflect.Type)
>
> That fixed all the test org.apache.zest.index.sql.postgresql.
> PostgreSQLQueryTest,script34
>
> Continuing....
> --
> Niclas Hedhman, Software Developer
> http://zest.apache.org - New Energy for Java
>



-- 
Niclas Hedhman, Software Developer
http://zest.apache.org - New Energy for Java

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message