I am not sure what fixed it but it's working now. I did the class generation 
Chuck suggested and I was adding a prototype idLong to our 
EOJDBCOraclePrototypes as we have some huge tables that exceed MAX integer. We 
were seeing some Integer overflow exceptions for attributes defined as 
prototype id which is an Integer. After I added the idLong to the EOPrototypes 
in our EO model for custom prototypes and restarted eclipse a few times the SQL 
generation started working.

Thanks!
JR

From: Chuck Hill <ch...@gevityinc.com<mailto:ch...@gevityinc.com>>
Date: Thursday, January 14, 2016 at 7:13 PM
To: JR Ruggentaler 
<jr.ruggenta...@experian.com<mailto:jr.ruggenta...@experian.com>>, 
"Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>" 
<webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>>
Subject: Re: WOLips EntityModeler error in SQL generation

Generate the classes first?


From: 
<webobjects-dev-bounces+chill=gevityinc....@lists.apple.com<mailto:webobjects-dev-bounces+chill=gevityinc....@lists.apple.com>>
 on behalf of "Ruggentaler, JR" 
<jr.ruggenta...@experian.com<mailto:jr.ruggenta...@experian.com>>
Date: Thursday, January 14, 2016 at 3:44 PM
To: "Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>" 
<webobjects-dev@lists.apple.com<mailto:webobjects-dev@lists.apple.com>>
Subject: WOLips EntityModeler error in SQL generation

I created a new entity that has no relationships to any other entity in my 
model and when I select my new entity and click the SQL generation icon in 
Entity Modeler shows the error below. WFAttachment is an entity from and old WO 
app that is at end of life. Any idea how I can fix this?

[cid:50ED29BF-8E81-4CEA-9166-160686258ECB]

java.lang.NoClassDefFoundError: Could not initialize class 
com.mpv.mohawk.WFAttachment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at 
com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilities.java:350)
at com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:334)
at 
com.webobjects.eoaccess.EOModel._setEntityForEntityNameClassName(EOModel.java:1302)
at 
com.webobjects.eoaccess.EOModel._addFakeEntityWithPropertyList(EOModel.java:1340)
at 
com.webobjects.eoaccess.EOModel._initWithTableOfContentsPropertyListPathURL(EOModel.java:1144)
at com.webobjects.eoaccess.EOModel.<init>(EOModel.java:841)
at 
com.webobjects.eoaccess.EOModelGroup.addModelWithPathURL(EOModelGroup.java:443)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.<init>(EOFSQLGenerator53.java:121)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.sqlGenerator(EOFSQLGeneratorFactory.java:43)
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)

JR
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to