gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-293) getDatastore use Class.forName() when use String parameters for dataStoreClass
Date Fri, 08 Jan 2016 21:02:40 GMT

    [ https://issues.apache.org/jira/browse/GORA-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089930#comment-15089930
] 

Lewis John McGibbney commented on GORA-293:
-------------------------------------------

I am +1 to committing this trivial patch. Will do so by EoB unless someone else objects. Thanks
[~ipolyzos]

> getDatastore use Class.forName() when use String parameters for dataStoreClass
> ------------------------------------------------------------------------------
>
>                 Key: GORA-293
>                 URL: https://issues.apache.org/jira/browse/GORA-293
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-core
>            Reporter: Ioannis Polyzos
>            Assignee: Ioannis Polyzos
>             Fix For: 0.7
>
>         Attachments: classloadingutils-2.patch, classloadingutils.diff
>
>
> Following Ioannis Canellos advice I digged deeper in the code and realised that in DataStoreFactory
in the getDatastore with signature using String arguments the keyClass and persistentClass
are loaded through ClassLoadingUtils while dataStoreClass try to do so with Class.forName.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message