I set up a new entity in a model that was previously maintained by
EOModeler.
When trying the generate SQL for the new Entity, I get this error:
java.lang.ClassCastException: java.lang.Integer
at
com.webobjects.jdbcadaptor.JDBCExpression.columnTypeStringForAttribute
(JDBCExpression.java:293)
at
com.webobjects.eoaccess.EOSQLExpression.addCreateClauseForAttribute
(EOSQLExpression.java:2498)
at
com.webobjects.eoaccess.EOSynchronizationFactory.createTableStatementsFo
rEntityGroup(EOSynchronizationFactory.java:318)
at
com.webobjects.eoaccess.EOSynchronizationFactory.createTableStatementsFo
rEntityGroups(EOSynchronizationFactory.java:487)
at
com.webobjects.eoaccess.EOSynchronizationFactory.schemaCreationStatement
sForEntities(EOSynchronizationFactory.java:951)
at
com.webobjects.eoaccess.EOSynchronizationFactory.schemaCreationScriptFor
Entities(EOSynchronizationFactory.java:747)
at
org.objectstyle.wolips.eomodeler.sql.EOFSQLGenerator.getSchemaCreationSc
ript(EOFSQLGenerator.java:389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql
(Unknown Source)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run
(Unknown Source)
at java.lang.Thread.run(Thread.java:613)
The setup is:
WOLips and Wonder of today.
All frameworks are "linked" in from workspace and also exist in /
Library/Frameworks
I am using my own prototypes. ERPrototypes framework is not
referenced by the project at all.
I'll go get this done by hand right now since it is just a half-dozen
attributes in the new entity, but any ideas on what this problem is?
This archive was generated by hypermail 2.0.0 : Wed May 02 2007 - 16:49:30 EDT