Hi

I have class mapped this way

  <class name="Message" table="MESSAGE" mutable="false"  batch-size="30"
         lazy="false"
         >
    <cache usage="read-only"/>

    <id name="id"   column="MESSAGE_ID" type="int">
      <generator class="assigned"/>
    </id>

    <property name="key" column="MESSAGE_KEY" type="string" length="500"/>

    <map name="submessages" table="V_SUB_SERVICE_MESSAGE" batch-size="10"
         lazy="false"
         >
      <key column="Message_ID" />
      <map-key column="SUB_SERVICE_TAG" type="string"/>
      <element type="string" column="Message_Value" />
    </map>
  </class>

One of the instances of Message has a collection of submessages with only
one entry, wich has a null on the Message_Value column.

Using 3.0.5, I can efectively retrieve that instance with his one element
map. When I ask for that only key I get the expected null value.

But using 3.1 rc2 that map is empty. The null valued key is no longer
loaded.

Is this a known issue? If it's not I'll try to give an example to reproduce
it.

Cheers

        Emilio




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to