Hi,

On May 2, 2007, at 4:58 PM, Chuck Hill wrote:


Bad jdbc2info in the model can do this. Have you changed the DB or JDCB driver too? Is the jdbc2info in the model corrupted? Is there some different external type for these attributes?

Chuck

I had the same problem and have deleted the jdbc2info thing to solve it.


On Jul 3, 2007, at 12:08 AM, WO Dev wrote:

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.createTableStatements ForEntityGroup(EOSynchronizationFactory.java:318) at com.webobjects.eoaccess.EOSynchronizationFactory.createTableStatements ForEntityGroups(EOSynchronizationFactory.java:487) at com.webobjects.eoaccess.EOSynchronizationFactory.schemaCreationStateme ntsForEntities(EOSynchronizationFactory.java:951) at com.webobjects.eoaccess.EOSynchronizationFactory.schemaCreationScriptF orEntities(EOSynchronizationFactory.java:747) at org.objectstyle.wolips.eomodeler.sql.EOFSQLGenerator.getSchemaCreation Script(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/den%40demax.ru

This email sent to [EMAIL PROTECTED]



--
Denis Frolov
Design Maximum MA

Tel: +7 863 2648211
Fax: +7 863 2645229
Web: http://www.designmaximum.com



_______________________________________________
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]

Reply via email to