Hi, I am having problems when a OQLQuery gives as a result more than 20 Objects, the exception is: "java.lang.IllegalStateException: Transaction org.exolab.castor.jdo.engine.TransactionContextImpl@60877b does not hold the read lock: domain.metaSystem.style.PLColor/21/40 -/-!" This exception is genereted in the Commit trasaction.
What can be happening? Thanks for your help. Fabio. mapping file of class PLColor <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN" "http://castor.exolab.org/mapping.dtd"> <mapping> <class name="domain.metaSystem.style.PLColor" identity="id" key-generator="MAX" access="shared" auto-complete="false"> <cache-type type="unlimited"/> <description>PLColor definition</description> <map-to table="pl_color" xml="pl_color" /> <field name="id" type="long" required="false" direct="false" lazy="false" transient="false"> <sql name="id" type="bigint" read-only="false" dirty="check" /> <xml name="id" node="attribute" /> </field> <field name="r" type="integer" required="false" direct="false" lazy="false" transient="false"> <sql name="r" type="tinyint" read-only="false" dirty="check" /> <xml name="r" node="element" /> </field> <field name="g" type="integer" required="false" direct="false" lazy="false" transient="false"> <sql name="g" type="tinyint" read-only="false" dirty="check" /> <xml name="g" node="element" /> </field> <field name="b" type="integer" required="false" direct="false" lazy="false" transient="false"> <sql name="b" type="tinyint" read-only="false" dirty="check" /> <xml name="b" node="element" /> </field> <!-- PLColor has reference to many GenericPanelConfig 1 to N--> <field name="genericPanelConfigs" type="domain.metaSystem.style.GenericPanelConfig" required="false" direct="false" lazy="false" collection="vector" transient="false"> <sql many-key="back_ground_pl_color_id" read-only="false" dirty="check" /> <xml name="genericPanelConfigs" node="element" /> </field> <!-- PLColor back ground has reference to many ComponentConfig 1 to N--> <field name="componentConfigBackgrounds" type="domain.metaSystem.style.ComponentConfig" required="true" direct="false" lazy="false" collection="vector" transient="false"> <sql many-key="back_ground_pl_color_id" read-only="false" dirty="check" /> <xml name="componentConfigBackgrounds" node="element" /> </field> <!-- PLColor font color has reference to many ComponentConfig 1 to N--> <field name="componentConfigFonts" type="domain.metaSystem.style.ComponentConfig" required="false" direct="false" lazy="false" collection="vector" transient="false"> <sql many-key="font_color_pl_color_id" read-only="false" dirty="check" /> <xml name="componentConfigFonts" node="element" /> </field> </class> </mapping> _________________________________________________________ Do You Yahoo!? Informaci�n de Estados Unidos y Am�rica Latina, en Yahoo! Noticias. Vis�tanos en http://noticias.espanol.yahoo.com ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
