Mark -
Is there any way that you could put together a small standalone unit test
that recreates this issue? I am unable to put a test together that
demonstrates the ClassCastException.
Thanks,
Rick
On Fri, Jul 20, 2012 at 9:05 PM, Mark Youwanes mark_youwa...@yahoo.comwrote:
Hi Rick,
I'm
Sorry, I missed that you opened a JIRA already... I'll try to take a look
sometime in the coming days.
On Mon, Jul 23, 2012 at 8:44 AM, Rick Curtis curti...@gmail.com wrote:
Mark -
Is there any way that you could put together a small standalone unit test
that recreates this issue? I am
Hi Rick,
I'm using OpenJPA 2.2.0 and build-time enhancement. The ftp connection is
getting retrieved eagerly as a member of a ClientRegion object:
@Entity
@Table(name = client_region)
public class ClientRegion extends AbstractNamedEntity {
private static final long serialVersionUID =
Mark -
Can we see the code that shows how you are getting a FtpConnection? Also,
what version of OpenJPA are you running and how are you enhancing your
Entities?
One note, I'm pretty certain you can get rid of the 'targetClass =
FtpSubdirectory.class' attribute of your ElementCollection
)
private SubdirectoryType type;
@Column(name = description)
private String description;
public String getPath() {
return path;
}
...
--
View this message in context:
http://openjpa.208410.n2.nabble.com/ClassCast-exception-while-iterating-over-an-element-collection