Just fixed that problem. Right now Cayenne will use the algorithm that
will try at least 1000 combinations of the same name before it fails -
pretty dumb but should work. Download is available at:
http://objectstyle.org/downloads/cayenne/nightly/2003-2-17/
As a bonus I added a text field to the schema selection dialog that
allows to specify table name pattern (using "%" and "_" as wildcards).
This allows to filter table names within schema.
Of course this may not be so useful unless users implement some kind of
naming convention for tables (e.g. prepend the same prefix to all
related table names). I personally still do it, nevermind the progress
in schema support :-).
Andrus
Javier Ferro wrote:
> Hi all,
>
> CayenneModeler Info Version: 1.0b1-dev Build Date: February 16 2003
> Exception: =================================
> java.lang.IllegalArgumentException: Map already contains a key
> SmpVarEbuActiveJob at
> org.objectstyle.cayenne.util.CayenneMap.put(CayenneMap.java:126) at
> org.objectstyle.cayenne.map.DataMap.addObjEntity(DataMap.java:253) at
> org.objectstyle.cayenne.access.DbLoader.loadObjEntities(DbLoader.java:418)
> at
> org.objectstyle.cayenne.access.DbLoader.loadDataMapFromDB(DbLoader.java:627)
> at
> org.objectstyle.cayenne.access.DbLoader.createDataMapFromDB(DbLoader.java:60
> 7) at
> org.objectstyle.cayenne.access.DbLoader.createDataMapFromDB(DbLoader.java:59
> 3) at
>
This archive was generated by hypermail 2.0.0 : Mon Feb 17 2003 - 21:25:11 EST