Hi,

each time I reverse engineer a database schema with dots (e.g. "mail.account"), 
the modeler hangs. If I hit Validate Project, it shows the exception shown at 
the end of the email.
It also happens if I create manually the ObjAttribute.

Any ideas of why this happens and how to workaround this (I MUST use dots).

Thanks,
Javier Rubio


CayenneModeler Info
Version: 2.0.4
Build Date: October 8 2007
Exception: 
=================================
org.apache.cayenne.exp.ExpressionException: [v.2.0.4 October 8 2007] Can't 
resolve path component: [account.mail].
    at org.apache.cayenne.map.Entity$PathIterator.next(Entity.java:363)
    at org.apache.cayenne.map.ObjAttribute.getDbAttribute(ObjAttribute.java:147)
    at 
org.apache.cayenne.util.EntityMergeSupport.getMeaningfulFKs(EntityMergeSupport.java:173)
    at 
org.apache.cayenne.modeler.dialog.objentity.EntitySyncController.createMerger(EntitySyncController.java:69)
    at 
org.apache.cayenne.modeler.action.DbEntitySyncAction.synchDbEntity(DbEntitySyncAction.java:75)
    at 
org.apache.cayenne.modeler.action.DbEntitySyncAction.performAction(DbEntitySyncAction.java:60)
    at 
org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)


_________________________________________________________________
Descubre todas las formas en que puedes estar en contacto con amigos y 
familiares.
http://www.microsoft.com/windows/windowslive/default.aspx

Reply via email to