• 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
RE: Entity Modeler SQL generation exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Entity Modeler SQL generation exception


  • Subject: RE: Entity Modeler SQL generation exception
  • From: Wolfgang Halbeisen <email@hidden>
  • Date: Thu, 07 May 2015 21:04:05 +0200
  • Importance: Normal

Hy,

I think I have fixed the problem.
Please have a look at the pull-request which should fix it: https://github.com/wocommunity/wolips/pull/116

The description of the problem is added to the pull-request.

Greetz, Wolfy


Subject: Re: Entity Modeler SQL generation exception
From: email@hidden
Date: Thu, 7 May 2015 13:06:51 -0300
To: email@hidden
CC: email@hidden

In IEOSQLGeneratorFactory.java I made this

Object o = configurationElement.createExecutableExtension("class");
System.out.println("object class : " + o.getClass().getName());
IEOClassLoaderFactory classLoaderFactory = (IEOClassLoaderFactory) o;

And got this output


object class : org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory

The returned class is neither EOFSQLGeneratorFactory nor IEOSQLGeneratorFactory


Em 07/05/2015, à(s) 12:33, Samuel Pelletier <email@hidden> escreveu:

I also get the same error. I modified a plugin.xml file that seemed incorrect and now I have this one:

java.lang.ClassCastException: org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory cannot be cast to org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory
at org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory$Utility.sqlGeneratorFactory(IEOSQLGeneratorFactory.java:29)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:297)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run(GenerateSQLDialog.java:279)
at java.lang.Thread.run(Thread.java:745)

I do not understand how it is possible; EOFSQLGeneratorFactory implements IEOSQLGeneratorFactory !

public class EOFSQLGeneratorFactory implements IEOSQLGeneratorFactory {
...
}


Ângelo Andrade Cirino
email@hidden

"O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato"
Sir George Benard Shaw

"The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man."
Sir George Benard Shaw



_______________________________________________ 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
 _______________________________________________
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: Entity Modeler SQL generation exception
      • From: Ken Anderson <email@hidden>
    • Re: Entity Modeler SQL generation exception
      • From: Ângelo Andrade Cirino <email@hidden>
References: 
 >Entity Modeler SQL generation exception (From: Ângelo Andrade Cirino <email@hidden>)
 >Re: Entity Modeler SQL generation exception (From: Samuel Pelletier <email@hidden>)
 >Re: Entity Modeler SQL generation exception (From: Ângelo Andrade Cirino <email@hidden>)

  • Prev by Date: Re: Entity Modeler SQL generation exception
  • Next by Date: Re: Entity Modeler SQL generation exception
  • Previous by thread: Re: Entity Modeler SQL generation exception
  • Next by thread: Re: Entity Modeler SQL generation exception
  • Index(es):
    • Date
    • Thread