Bugs item #490156, was opened at 2001-12-07 00:12
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=490156&group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Rune Hamnvik (runeh)
Assigned to: Oleg Nitz (olegnitz)
Summary: Can't persist ArrayList field using BLOB

Initial Comment:
I'am using JBoss 3.0.0alpha and the new CMP 2.0 
implementation, and I have problem persisting an 
ArrayList cmr field using BLOB in MySQL. I have done 
this often with previous versions of JBoss and it has 
been working fine all the time. When I am creating a 
bean with a ArrayList cmr field all seem to work fine. 
The values seems to be stored and the size is correct. 
But when I later fetches the bean using either findAll 
or findByPrimaryKey, all fields in the bean are 
correct except for the ArrayList. It has now the size 
of zero.

Test case is attached.

----------------------------------------------------------------------

>Comment By: Oleg Nitz (olegnitz)
Date: 2001-12-23 07:56

Message:
Logged In: YES 
user_id=52081

Being unable to run the provided testcase (some files 
missing) I created a similar CMP field of type ArrayList 
containing Integers with the following description in 
jbosscmp-jdbc.xml
         <cmp-field>
            <field-name>intList</field-name>
            <jdbc-type>JAVA_OBJECT</jdbc-type>
            <sql-type>BLOB</sql-type>
         </cmp-field>
I fetched the bean using findByPrimaryKey and the size of 
the ArrayList was correct.
So I am closing the bug.
Rune, please test again and if it still doesn't work for 
you, reopen the bug and provide the full testcase. Thanks.



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=490156&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to