Hi, still trying to get used to Eclipse:)
I'm editing an eomodel with a prototype. Everything is working as
expected as far as editing the model.
But when I try to generate the SQL for the model I got:
------
Error java.lang.Integer
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)
------
So I tried to get back to a previous working eomodel, and it generate
the SQL with EOModeler but got this error with Entity Modeler...
Any idea?
Thanks
Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]