Menu

New Version

2004-10-04
2013-03-07
  • Nobody/Anonymous

    Hi.

    I download a last version and now I have a mistake:
    Excepcin no controlada del tipo 'AToMSFramework.XMLMappingException' en atomsframework.dll

    Informacin adicional: Error in association definition: fromClassMap = Cliente
    my code in xml is:
    <class name="FormaPago" table="FormaPago" database="erp" namespace="ERP">
            <attribute name="CodigoFormaPago" column="CodigoFormaPago" find="true" key="primary" proxy="true" />
            <attribute name="Nombre" column="nombre" />
            <attribute name="CreatedDate" column="CreatedDate" timestamp="true" />
            <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true" />
        </class>

    <class name="Cliente" table="cliente" database="erp" namespace="Ventas">
            <attribute name="CodigoCliente" column="codigocliente" find="true" key="primary" />
            <attribute name="Nombre" column="nombre" />
            <attribute name="Apellidos" column="apellidos" />
            <attribute name="Nif" column="nif" />
            <attribute name="RazonSocial" column="razonsocial" />
            <attribute name="FechaAlta" column="fechaalta" />
            <attribute name="FormaPago" />
            <attribute name="CodigoFormaPago" column="CodigoFormaPago" />
            <attribute name="FormaEnvio" />
            <attribute name="CodigoFormaEnvio" column="CodigoFormaEnvio" />
            <attribute name="Direcciones" />
            <attribute name="CreatedDate" column="CreatedDate" timestamp="true" />
            <attribute name="ModifiedDate" column="ModifiedDate" timestamp="true" />
        </class>
        <association fromClass="Cliente" toClass="FormaPago" cardinality="oneToOne" target="FormaPago"
            retrieveAutomatic="true" deleteAutomatic="false" saveAutomatic="false" inverse="false">
            <entry fromAttribute="CodigoFormaPago" toAttribute="CodigoFormaPago" />
    </association>

    Saludos

    Victor (Madrid - Spain)

     
    • Richard Banks

      Richard Banks - 2004-10-04

      The from class in the association should be "Ventas.Cliente".

      - Richard.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.