Menu

#31 hibernate error in RSS_2_0_Parser

open
5
2005-06-28
2005-06-28
BK
No

When commiting a hibernate transaction for a parse of
an RSS 2.0 channel, hibernate throws a mapping excepetion:

net.sf.hibernate.MappingException: No persister for:
de.nava.informa.impl.basic.Category

I think the cause is in the
RSS_2_0_Parser.getCategoryList method. The method
always uses a
de.nava.informa.impl.basic.ChannelBuilder, so it builds
basic Categories for a hibernate Channel. I think this
can be fixed by passing the current ChannelBuilderIF
from the parse method into the getCategoryList method.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB