openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trenton D. Adams" <tr...@trentonadams.ca>
Subject ClassNotFoundException enhancer
Date Wed, 26 May 2010 20:54:11 GMT
Caused by: java.lang.ClassNotFoundException: org.adamsbros.rmi.ledger.datatypes.EntryType

public enum EntryType implements Serializable
{
    DEBIT,
    CREDIT
}

I have it setup to store these as strings.  The class that is using it as this...

    @Column(name = "debitCredit")
    @Enumerated(EnumType.STRING)
    public EntryType getEntryType()
    {
        return entryType;
    }

Is the enhancer not loading it into the class path because there's a missing annotation of
some sort?  What would that be?  I though the @Enumerated was all that is needed.

openjpa-1.2.1

Thanks.

Mime
View raw message