HIBERNATE JBoss.org
 |  Register  | 
     
News 
About 
   Feature List 
   Road Map 
Documentation 
   Related Projects 
   External Documentation 
Download 
Forum & Mailinglists 
Support & Training 
JIRA Issue Tracking
Wiki Community Area


Hibernate Public Training Courses


Get Hibernate in Action eBook!


JavaWorld 2003 Finalist


Jolt Award 2004 Winner
      
Documentation > Community Area > UserType for persisting Typesafe Enumerations with a single class > Comments > Re: I got error compiling


Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
Subject: Re: I got error compiling 06 Aug 2004, 13:37
From: bryanhunt Replies: 0, Views: 15
 
>And at lines 135-136 of PersistentEnumjava:
>Method mth = other.getClass().getMethod("getEnumCode",
>(java.lang.Class[]) null);
>Serializable enumCode = (Serializable) mth.invoke(other,
>(java.lang.Object[]) null);

I'm a little confused, i don't see what 135-136 are supposed to be
replacing. Could you post the whole method please

Thanks 

Bryan
 

Thread:
 I got error compiling 
 jones   06 Aug 2004, 11:21 
 Re: I got error compiling 
 jones   06 Aug 2004, 11:55 
 Re: I got error compiling 
 bryanhunt   06 Aug 2004, 13:37 
      

coWiki