Hi,
 
I´m using AndroMDA with Maven. Currently, AndroMDA´s version is 3.0M3.
I followed the steps recommended in http://team.andromda.org/docs/starting.html.
 
In my model, there is a class with an attribute named "id" that is java.lang.String.
The generated code is like this:
 
    /**
     *
     *
     * @hibernate.id
     *     generator-class="uuid.hex"
     *     column="ID"
     *     type="$attribute.type.fullyQualifiedHibernateType"
     *
     * @hibernate.column
     *     name="ID"
     *     sql-type="java.lang.String"
     *     not-null="true"
     */
    public java.lang.String getId()
    {
        return this.id;
    }
    public void setId(java.lang.String id)
    {
        this.id = id;
    }
When I run maven, appears the following error:
 
    [java] 24/11/2004 16:52:04 net.sf.hibernate.cfg.Configuration add
    [java] SEVERE: Could not compile the mapping document
    [java] net.sf.hibernate.MappingException: Could not interpret type: $attribute.type.fullyQualifiedHibernateType
    [java]      at net.sf.hibernate.cfg.Binder.getTypeFromXML(Binder.java:934)
    [java]      at net.sf.hibernate.cfg.Binder.bindSimpleValue(Binder.java:435)
    [java]      at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:265)
    [java]      at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1256)
    [java]      at net.sf.hibernate.cfg.Configuration.add(Configuration.java:252)
    [java]      at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:174)
    [java]      at net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:289)
...
    [java] 24/11/2004 16:52:04 net.sf.hibernate.tool.hbm2ddl.SchemaExport main
    [java] SEVERE: Error creating schema
    [java] net.sf.hibernate.MappingException: net.sf.hibernate.MappingException:  Could not interpret type: $attribute.type.fullyQualifiedHibernateType
    [java]      at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:179)
    [java]      at net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:289)
    [java] Caused by: net.sf.hibernate.MappingException: Could not interpret type: $attribute.type.fullyQualifiedHibernateType
    [java]      at net.sf.hibernate.cfg.Binder.getTypeFromXML(Binder.java:934)
    [java]      at net.sf.hibernate.cfg.Binder.bindSimpleValue(Binder.java:435)
    [java]      at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:265)
    [java]      at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1256)
    [java]      at net.sf.hibernate.cfg.Configuration.add(Configuration.java:252)
    [java]      at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:174)
 
 
Does anybody know what is happening?
 
Thanks.
Luciana.
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to