• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[OT] Entity Modeler: SQL Generation issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OT] Entity Modeler: SQL Generation issue


  • Subject: [OT] Entity Modeler: SQL Generation issue
  • From: WO Dev <email@hidden>
  • Date: Mon, 2 Jul 2007 22:08:55 +0200

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [OT] Entity Modeler: SQL Generation issue
      • From: Denis Frolov <email@hidden>
  • Prev by Date: RE: WebObjects documentation site
  • Next by Date: Re: WebObjects documentation site
  • Previous by thread: Re: HTML comments and WebObjects
  • Next by thread: Re: [OT] Entity Modeler: SQL Generation issue
  • Index(es):
    • Date
    • Thread