This one time, at band camp, Ebersole, Steven said:

ES>That is actually the correct way.  In the mapping you define a type
ES>java.util.Collection.  The the actual object looks to accept a type of
ES>java.util.List.  This will not work.
ES>
ES>Look at it this way.  Try the following code (which is basically what you
ES>are asking Castor to do):
ES>
ES>    public static void main(String args[])
ES>    {
ES>        java.util.Collection myCollection = new java.util.ArrayList();
ES>        testMethod( myCollection );
ES>    }
ES>
ES>    private void testMethod( java.util.List myList )
ES>    {
ES>    }
ES>
ES>javac will not even let you compile this code.
ES>

Steve is correct.
--

perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to