[ 
https://issues.apache.org/jira/browse/MAHOUT-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675975#action_12675975
 ] 

Jens Grivolla commented on MAHOUT-107:
--------------------------------------

In order to build a MySQLJDBCDiffStorage my DataModel needs to be a 
MySQLJDBCDataModel.  If I just subclass AbstractJDBCDataModel this does not 
work.

I do however need to change buildItem in order to have item names etc., so I 
can't use MySQLJDBCDataModel, afaics.  I have a table containing a list of 
items with item details and want buildItem(id) to use that information instead 
of just returning a GenericItem.

> make MySQLJDBCDataModel not final
> ---------------------------------
>
>                 Key: MAHOUT-107
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-107
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>            Reporter: Jens Grivolla
>            Priority: Minor
>
> Is there a particular reason for MySQLJDBCDataModel being final?
> I am using a derived class to incorporate additional information about the 
> items and users (overriding buildItem etc.) and had to change my version of 
> MySQLJDBCDataModel to be able to extend it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to