Standalone Entity Modeler

2016-01-11 Thread Hugi Thordarson
Hi all.
Does anyone know how to build the Standalone Entity Modeler from the WOLips 
sources? Is the process documented somewhere?

Cheers,
- hugi

smime.p7s
Description: S/MIME cryptographic signature
 ___
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

Exception for SQL generation with entity modeler: java.lang.RuntimeException: Failed to generate SQL

2016-01-05 Thread Kwasi O-Ahoofe
Another related, I think, exception/error associated with Entity Modeler/EOF 
implementation of WOLips;


Another Exception [from the Entity Modeler] to support my previous 
'difficulty'...:
java.lang.RuntimeException: Failed to generate SQL.
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory$ReflectionSQLGenerator.generateSchemaCreationScript(EOFSQLGeneratorFactory.java:62)
at 
org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:298)
at 
org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run(GenerateSQLDialog.java:279)
at java.lang.Thread.run(Thread.java:745)


smime.p7s
Description: S/MIME cryptographic signature
 ___
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

Re: Entity Modeler SQL generation exception

2015-05-08 Thread Ken Anderson
Works like a charm!

Thank you Wolfgang!

> On May 8, 2015, at 8:49 AM, Pascal Robert  wrote:
> 
> It is.
> 
> Envoyé de mon iPhone
> 
> Le 2015-05-08 à 08:49, Ken Anderson  <mailto:kenli...@anderhome.com>> a écrit :
> 
>> Awesome!  Is it on the Eclipse update site yet?
>> 
>>> On May 8, 2015, at 8:35 AM, Pascal Robert >> <mailto:prob...@macti.ca>> wrote:
>>> 
>>> BTW, the fix from Wolfy also fix the issue with reverse engineering!
>>> 
>>> De: "Ângelo Andrade Cirino" mailto:aacir...@gmail.com>>
>>> À: "Samuel Pelletier" mailto:sam...@samkar.com>>
>>> Cc: "WebObjects-Dev Mailing List List" >> <mailto:Webobjects-dev@lists.apple.com>>
>>> Envoyé: Jeudi 7 Mai 2015 15:31:32
>>> Objet: Re: Entity Modeler SQL generation exception
>>> 
>>> Hi Samuel, Wolfy seems to have solved the bug. I will create a branch in my 
>>> repo and will report back.
>>> 
>>> Angelo
>>> 
>>> Em 07/05/2015, à(s) 16:25, Samuel Pelletier >> <mailto:sam...@samkar.com>> escreveu:
>>> 
>>> Ângelo,
>>> 
>>> I added some debug output and I think I found the problem but have no 
>>> solution yet...
>>> 
>>> Activator.getDefault().log("IEOSQLGeneratorFactory object class : " + 
>>> o.getClass().getName());
>>> for (Class anInterface : o.getClass().getInterfaces()) {
>>> Activator.getDefault().log("interface : " + 
>>> anInterface.getName());
>>> } 
>>> Activator.getDefault().log("IEOSQLGeneratorFactory object class Loader 
>>> : " + o.getClass().getClassLoader())
>>> Activator.getDefault().log("IEOSQLGeneratorFactory class Loader : " + 
>>> IEOSQLGeneratorFactory.class.getClassLoader());
>>> 
>>> The output:
>>> !MESSAGE IEOSQLGeneratorFactory object class : 
>>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory
>>> !MESSAGE interface : 
>>> org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory
>>> !MESSAGE IEOSQLGeneratorFactory object class Loader : 
>>> org.eclipse.osgi.internal.loader.EquinoxClassLoader@289c2793[org.objectstyle.wolips.eomodeler.eclipse:4.4.20150506.01(id=1470)]
>>> !MESSAGE IEOSQLGeneratorFactory class Loader : 
>>> org.eclipse.osgi.internal.loader.EquinoxClassLoader@2dcbf825[org.objectstyle.wolips.eomodeler.core:4.4.20150506.01(id=1469)]
>>> 
>>> So these are 2 different class objects from 2 class loader for the same 
>>> class.
>>> 
>>> Anyone know how to fix this ?
>>> 
>>> Samuel
>>> 
>>> Ângelo Andrade Cirino
>>> aacir...@gmail.com <mailto:aacir...@gmail.com>
>>> 
>>> "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  (Webobjects-dev@lists.apple.com 
>>> <mailto:Webobjects-dev@lists.apple.com>)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca 
>>> <https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca>
>>> 
>>> This email sent to prob...@macti.ca <mailto:prob...@macti.ca>
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>>> <mailto:Webobjects-dev@lists.apple.com>)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
>>>  
>>> <https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com>
>>> 
>>> This email sent to kenli...@anderhome.com <mailto:kenli...@anderhome.com>

 ___
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

Re: Entity Modeler SQL generation exception

2015-05-08 Thread Pascal Robert
It is.

Envoyé de mon iPhone

> Le 2015-05-08 à 08:49, Ken Anderson  a écrit :
> 
> Awesome!  Is it on the Eclipse update site yet?
> 
>> On May 8, 2015, at 8:35 AM, Pascal Robert  wrote:
>> 
>> BTW, the fix from Wolfy also fix the issue with reverse engineering!
>> 
>> De: "Ângelo Andrade Cirino" 
>> À: "Samuel Pelletier" 
>> Cc: "WebObjects-Dev Mailing List List" 
>> Envoyé: Jeudi 7 Mai 2015 15:31:32
>> Objet: Re: Entity Modeler SQL generation exception
>> 
>> Hi Samuel, Wolfy seems to have solved the bug. I will create a branch in my 
>> repo and will report back.
>> 
>> Angelo
>> 
>> Em 07/05/2015, à(s) 16:25, Samuel Pelletier  escreveu:
>> 
>> Ângelo,
>> 
>> I added some debug output and I think I found the problem but have no 
>> solution yet...
>> 
>>  Activator.getDefault().log("IEOSQLGeneratorFactory object class : " + 
>> o.getClass().getName());
>>  for (Class anInterface : o.getClass().getInterfaces()) {
>>  Activator.getDefault().log("interface : " + 
>> anInterface.getName());
>>  } 
>>  Activator.getDefault().log("IEOSQLGeneratorFactory object class Loader 
>> : " + o.getClass().getClassLoader())
>>  Activator.getDefault().log("IEOSQLGeneratorFactory class Loader : " + 
>> IEOSQLGeneratorFactory.class.getClassLoader());
>> 
>> The output:
>> !MESSAGE IEOSQLGeneratorFactory object class : 
>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory
>> !MESSAGE interface : 
>> org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory
>> !MESSAGE IEOSQLGeneratorFactory object class Loader : 
>> org.eclipse.osgi.internal.loader.EquinoxClassLoader@289c2793[org.objectstyle.wolips.eomodeler.eclipse:4.4.20150506.01(id=1470)]
>> !MESSAGE IEOSQLGeneratorFactory class Loader : 
>> org.eclipse.osgi.internal.loader.EquinoxClassLoader@2dcbf825[org.objectstyle.wolips.eomodeler.core:4.4.20150506.01(id=1469)]
>> 
>> So these are 2 different class objects from 2 class loader for the same 
>> class.
>> 
>> Anyone know how to fix this ?
>> 
>> Samuel
>> 
>> Ângelo Andrade Cirino
>> aacir...@gmail.com
>> 
>> "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  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
>> 
>> ___
>> 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/kenlists%40anderhome.com
>> 
>> This email sent to kenli...@anderhome.com
> 
 ___
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

Re: Entity Modeler SQL generation exception

2015-05-08 Thread Ken Anderson
Awesome!  Is it on the Eclipse update site yet?

> On May 8, 2015, at 8:35 AM, Pascal Robert  wrote:
> 
> BTW, the fix from Wolfy also fix the issue with reverse engineering!
> 
> De: "Ângelo Andrade Cirino" mailto:aacir...@gmail.com>>
> À: "Samuel Pelletier" mailto:sam...@samkar.com>>
> Cc: "WebObjects-Dev Mailing List List"  <mailto:Webobjects-dev@lists.apple.com>>
> Envoyé: Jeudi 7 Mai 2015 15:31:32
> Objet: Re: Entity Modeler SQL generation exception
> 
> Hi Samuel, Wolfy seems to have solved the bug. I will create a branch in my 
> repo and will report back.
> 
> Angelo
> 
> Em 07/05/2015, à(s) 16:25, Samuel Pelletier  <mailto:sam...@samkar.com>> escreveu:
> 
> Ângelo,
> 
> I added some debug output and I think I found the problem but have no 
> solution yet...
> 
>   Activator.getDefault().log("IEOSQLGeneratorFactory object class : " + 
> o.getClass().getName());
>   for (Class anInterface : o.getClass().getInterfaces()) {
>   Activator.getDefault().log("interface : " + 
> anInterface.getName());
>   } 
>   Activator.getDefault().log("IEOSQLGeneratorFactory object class Loader 
> : " + o.getClass().getClassLoader())
>   Activator.getDefault().log("IEOSQLGeneratorFactory class Loader : " + 
> IEOSQLGeneratorFactory.class.getClassLoader());
> 
> The output:
> !MESSAGE IEOSQLGeneratorFactory object class : 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory
> !MESSAGE interface : 
> org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory
> !MESSAGE IEOSQLGeneratorFactory object class Loader : 
> org.eclipse.osgi.internal.loader.EquinoxClassLoader@289c2793[org.objectstyle.wolips.eomodeler.eclipse:4.4.20150506.01(id=1470)]
> !MESSAGE IEOSQLGeneratorFactory class Loader : 
> org.eclipse.osgi.internal.loader.EquinoxClassLoader@2dcbf825[org.objectstyle.wolips.eomodeler.core:4.4.20150506.01(id=1469)]
> 
> So these are 2 different class objects from 2 class loader for the same class.
> 
> Anyone know how to fix this ?
> 
> Samuel
> 
> Ângelo Andrade Cirino
> aacir...@gmail.com <mailto:aacir...@gmail.com>
> 
> "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  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca 
> <https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca>
> 
> This email sent to prob...@macti.ca <mailto:prob...@macti.ca>
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
> <mailto:Webobjects-dev@lists.apple.com>)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
>  
> <https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com>
> 
> This email sent to kenli...@anderhome.com <mailto:kenli...@anderhome.com>
 ___
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

Re: Entity Modeler SQL generation exception

2015-05-08 Thread Pascal Robert
BTW, the fix from Wolfy also fix the issue with reverse engineering! 

- Mail original -

De: "Ângelo Andrade Cirino"  
À: "Samuel Pelletier"  
Cc: "WebObjects-Dev Mailing List List"  
Envoyé: Jeudi 7 Mai 2015 15:31:32 
Objet: Re: Entity Modeler SQL generation exception 

Hi Samuel, Wolfy seems to have solved the bug. I will create a branch in my 
repo and will report back. 

Angelo 




Em 07/05/2015, à(s) 16:25, Samuel Pelletier < sam...@samkar.com > escreveu: 

Ângelo, 

I added some debug output and I think I found the problem but have no solution 
yet... 

Activator.getDefault().log("IEOSQLGeneratorFactory object class : " + 
o.getClass().getName()); 
for (Class anInterface : o.getClass().getInterfaces()) { 
Activator.getDefault().log("interface : " + anInterface.getName()); 
} 
Activator.getDefault().log("IEOSQLGeneratorFactory object class Loader : " + 
o.getClass().getClassLoader()) 
Activator.getDefault().log("IEOSQLGeneratorFactory class Loader : " + 
IEOSQLGeneratorFactory.class.getClassLoader()); 

The output: 
!MESSAGE IEOSQLGeneratorFactory object class : 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory 
!MESSAGE interface : 
org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory 
!MESSAGE IEOSQLGeneratorFactory object class Loader : 
org.eclipse.osgi.internal.loader.EquinoxClassLoader@289c2793[org.objectstyle.wolips.eomodeler.eclipse:4.4.20150506.01(id=1470)]
 
!MESSAGE IEOSQLGeneratorFactory class Loader : 
org.eclipse.osgi.internal.loader.EquinoxClassLoader@2dcbf825[org.objectstyle.wolips.eomodeler.core:4.4.20150506.01(id=1469)]
 

So these are 2 different class objects from 2 class loader for the same class. 

Anyone know how to fix this ? 

Samuel 




Ângelo Andrade Cirino 
aacir...@gmail.com 

"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 (Webobjects-dev@lists.apple.com) 
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca 

This email sent to prob...@macti.ca 

 ___
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

Re: Entity Modeler SQL generation exception

2015-05-07 Thread Samuel Pelletier
Thanks Wolfgang, the fix works.

This make me think the WOD editor problem may be similar, we have an NPE but I 
suspect the real problem occur when the editor try to create the special view 
when the .wod file is absent or when the wod view is too small.

Samuel

> Le 2015-05-07 à 16:13, Ken Anderson  a écrit :
> 
> Thanks Wolfgang!  Looking at the list of changes, I never would have been 
> able to figure it out!
> 
>> On May 7, 2015, at 3:04 PM, Wolfgang Halbeisen > <mailto:halbei...@hotmail.com>> wrote:
>> 
>> 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 
>> <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: aacir...@gmail.com <mailto:aacir...@gmail.com>
>> Date: Thu, 7 May 2015 13:06:51 -0300
>> To: sam...@samkar.com <mailto:sam...@samkar.com>
>> CC: Webobjects-dev@lists.apple.com <mailto:Webobjects-dev@lists.apple.com>
>> 
>> 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 > <mailto:sam...@samkar.com>> 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
>> aacir...@gmail.com <mailto:aacir...@gmail.com>
>> 
>> "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 
>> (Webobjects-dev@lists.apple.com <mailto:Webobjects-dev@lists.apple.com>) 
>> Help/Unsubscribe/Update your Subscription: 
>> https://lists.apple.com/mailman/options/webobjects-dev/halbeisen%40hotmail.com
>>  
>> <https://lists.apple.com/mailman/options/webobjects-dev/halbeisen%40hotmail.com>
>>  This email sent to halbei...@hotmail.com 
>> <mailto:halbei...@hotmail.com>___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
>> <mailto:Webobjects-dev@lists.apple.com>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
>>  
>> <https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com>
>> 
>> This email sent to kenli...@anderhome.com
> 
> ___
> 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/samuel%40samkar.com
> 
> This email sent to sam...@samkar.com

 ___
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

Re: Entity Modeler SQL generation exception

2015-05-07 Thread Ken Anderson
Thanks Wolfgang!  Looking at the list of changes, I never would have been able 
to figure it out!

> On May 7, 2015, at 3:04 PM, Wolfgang Halbeisen  wrote:
> 
> 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 
> <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: aacir...@gmail.com
> Date: Thu, 7 May 2015 13:06:51 -0300
> To: sam...@samkar.com
> CC: Webobjects-dev@lists.apple.com
> 
> 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  <mailto:sam...@samkar.com>> 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
> aacir...@gmail.com <mailto:aacir...@gmail.com>
> 
> "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 
> (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: 
> https://lists.apple.com/mailman/options/webobjects-dev/halbeisen%40hotmail.com
>  This email sent to halbei...@hotmail.com
> ___
> 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/kenlists%40anderhome.com
> 
> This email sent to kenli...@anderhome.com

 ___
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

Re: Entity Modeler SQL generation exception

2015-05-07 Thread Ângelo Andrade Cirino
Hi Wolfy, I guessed the issue could be solved editing the configuration files 
as you did, but I used your commit and it raised another problem:

org.objectstyle.wolips.eomodeler.core.model.EOModelException: There was more 
than one SQL generator factory defined.
at 
org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory$Utility.sqlGeneratorFactory(IEOSQLGeneratorFactory.java:39)
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)

Angelo

> Em 07/05/2015, à(s) 16:04, Wolfgang Halbeisen  
> escreveu:
> 
> 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

Ângelo Andrade Cirino
aacir...@gmail.com

"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  (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

Re: Entity Modeler SQL generation exception

2015-05-07 Thread Ângelo Andrade Cirino
Hi Samuel, Wolfy seems to have solved the bug. I will create a branch in my 
repo and will report back.

Angelo

> Em 07/05/2015, à(s) 16:25, Samuel Pelletier  escreveu:
> 
> Ângelo,
> 
> I added some debug output and I think I found the problem but have no 
> solution yet...
> 
>   Activator.getDefault().log("IEOSQLGeneratorFactory object class : " + 
> o.getClass().getName());
>   for (Class anInterface : o.getClass().getInterfaces()) {
>   Activator.getDefault().log("interface : " + 
> anInterface.getName());
>   } 
>   Activator.getDefault().log("IEOSQLGeneratorFactory object class Loader 
> : " + o.getClass().getClassLoader())
>   Activator.getDefault().log("IEOSQLGeneratorFactory class Loader : " + 
> IEOSQLGeneratorFactory.class.getClassLoader());
> 
> The output:
> !MESSAGE IEOSQLGeneratorFactory object class : 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory
> !MESSAGE interface : 
> org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory
> !MESSAGE IEOSQLGeneratorFactory object class Loader : 
> org.eclipse.osgi.internal.loader.EquinoxClassLoader@289c2793[org.objectstyle.wolips.eomodeler.eclipse:4.4.20150506.01(id=1470)]
> !MESSAGE IEOSQLGeneratorFactory class Loader : 
> org.eclipse.osgi.internal.loader.EquinoxClassLoader@2dcbf825[org.objectstyle.wolips.eomodeler.core:4.4.20150506.01(id=1469)]
> 
> So these are 2 different class objects from 2 class loader for the same class.
> 
> Anyone know how to fix this ?
> 
> Samuel

Ângelo Andrade Cirino
aacir...@gmail.com

"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  (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

Re: Entity Modeler SQL generation exception

2015-05-07 Thread Samuel Pelletier
Ângelo,

I added some debug output and I think I found the problem but have no solution 
yet...

Activator.getDefault().log("IEOSQLGeneratorFactory object class : " + 
o.getClass().getName());
for (Class anInterface : o.getClass().getInterfaces()) {
Activator.getDefault().log("interface : " + 
anInterface.getName());
} 
Activator.getDefault().log("IEOSQLGeneratorFactory object class Loader 
: " + o.getClass().getClassLoader())
Activator.getDefault().log("IEOSQLGeneratorFactory class Loader : " + 
IEOSQLGeneratorFactory.class.getClassLoader());

The output:
!MESSAGE IEOSQLGeneratorFactory object class : 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory
!MESSAGE interface : 
org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory
!MESSAGE IEOSQLGeneratorFactory object class Loader : 
org.eclipse.osgi.internal.loader.EquinoxClassLoader@289c2793[org.objectstyle.wolips.eomodeler.eclipse:4.4.20150506.01(id=1470)]
!MESSAGE IEOSQLGeneratorFactory class Loader : 
org.eclipse.osgi.internal.loader.EquinoxClassLoader@2dcbf825[org.objectstyle.wolips.eomodeler.core:4.4.20150506.01(id=1469)]

So these are 2 different class objects from 2 class loader for the same class.

Anyone know how to fix this ?

Samuel

> Le 2015-05-07 à 12:06, Ângelo Andrade Cirino  a écrit :
> 
> 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 > > 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
> aacir...@gmail.com 
> 
> "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  (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

RE: Entity Modeler SQL generation exception

2015-05-07 Thread Wolfgang Halbeisen
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: aacir...@gmail.com
Date: Thu, 7 May 2015 13:06:51 -0300
To: sam...@samkar.com
CC: Webobjects-dev@lists.apple.com

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 
 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
aacir...@gmail.com

"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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/halbeisen%40hotmail.com

This email sent to halbei...@hotmail.com
   ___
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

Re: Entity Modeler SQL generation exception

2015-05-07 Thread Ângelo Andrade Cirino
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  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
aacir...@gmail.com

"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  (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

Re: Entity Modeler SQL generation exception

2015-05-07 Thread Samuel Pelletier
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 posted this on April 29, I think there is something here, 
some sort or dependency or class path missing during the plugin execution.


> Some more light on the issue. This is the first time I debug WOLips and I 
> have never attempted to change the code. That said, when debugging Entity 
> Modeler I was able to locate this exception thrown just before the exception 
> I originally reported was thrown:
> 
> org.eclipse.core.runtime.CoreException: Plug-in 
> org.objectstyle.wolips.eomodeler.eclipse was unable to load class 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.
> 
> !ENTRYat 
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
>   at 
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
>   at 
> org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
>   at 
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
>   at 
> org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
>   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)
> Caused by: java.lang.ClassNotFoundException: 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory cannot be 
> found by org.objectstyle.wolips.eomodeler.eclipse_1.0.6
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
>   at 
> org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   at 
> org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568)
>   at 
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
>   ... 7 more
>  org.objectstyle.wolips.eomodeler.core.ActivatorResources 4 4 2015-04-29 
> 21:13:07.546
> !MESSAGE Could not create SQL generator factory from configuration element: 
> org.eclipse.core.internal.registry.ConfigurationElementHandle@7b77
> !STACK 1
> org.eclipse.core.runtime.CoreException: Plug-in 
> org.objectstyle.wolips.eomodeler.eclipse was unable to load class 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.
>   at 
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
>   at 
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
>   at 
> org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
>   at 
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
>   at 
> org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
>   at 
> org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory$Utility.sqlGeneratorFactory(IEOSQLGeneratorFactory.java:29)
>   at 
> org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:297)
>  

Re: Entity Modeler SQL generation exception

2015-05-06 Thread Ângelo Andrade Cirino
The same here, unfortunately I don’t know how to help.

> Em 06/05/2015, à(s) 18:29, Ramsey Gurley  escreveu:
> 
> This appears related to:
> 
> https://github.com/wocommunity/wolips/commit/2e3a8194cff84ae1ea24e7c0608303da65bbf582#diff-a1bbac9aca1f8883cda10fb887d89b7dL18
> 
> If I return that to EOEclipseClassLoaderFactory, I crash with a classnotfound 
> on EOFSQLGenerator53.
> 
> On May 6, 2015, at 11:13 AM, Ramsey Gurley  wrote:
> 
>> Uhhhg
>> 
>> Me too
>> 
>> On May 5, 2015, at 9:05 AM, Ângelo Andrade Cirino  wrote:
>> 
>>> 
>>> java.lang.ClassCastException: 
>>> org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory cannot 
>>> be cast to org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory
>>> at 
>>> org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory$Utility.createClassLoader(IEOClassLoaderFactory.java:39)
>>> at 
>>> org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.getEOModelClassLoader(GenerateSQLDialog.java:257)
>>> 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)
>> 
> 

Ângelo Andrade Cirino
aacir...@gmail.com

"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  (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

Re: Entity Modeler SQL generation exception

2015-05-06 Thread Ramsey Gurley
This appears related to:

https://github.com/wocommunity/wolips/commit/2e3a8194cff84ae1ea24e7c0608303da65bbf582#diff-a1bbac9aca1f8883cda10fb887d89b7dL18

If I return that to EOEclipseClassLoaderFactory, I crash with a classnotfound 
on EOFSQLGenerator53.

On May 6, 2015, at 11:13 AM, Ramsey Gurley  wrote:

> Uhhhg
> 
> Me too
> 
> On May 5, 2015, at 9:05 AM, Ângelo Andrade Cirino  wrote:
> 
>> 
>> java.lang.ClassCastException: 
>> org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory cannot 
>> be cast to org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory
>>  at 
>> org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory$Utility.createClassLoader(IEOClassLoaderFactory.java:39)
>>  at 
>> org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.getEOModelClassLoader(GenerateSQLDialog.java:257)
>>  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)
> 


 ___
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

Re: Entity Modeler SQL generation exception

2015-05-06 Thread Ramsey Gurley
Uhhhg

Me too

On May 5, 2015, at 9:05 AM, Ângelo Andrade Cirino  wrote:

> 
> java.lang.ClassCastException: 
> org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory cannot be 
> cast to org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory
>   at 
> org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory$Utility.createClassLoader(IEOClassLoaderFactory.java:39)
>   at 
> org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.getEOModelClassLoader(GenerateSQLDialog.java:257)
>   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)


 ___
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

Entity Modeler SQL generation exception

2015-05-05 Thread Ângelo Andrade Cirino
This is the exception I got when debugging WOLips 4.4

java.lang.ClassCastException: 
org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory cannot be 
cast to org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory
at 
org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory$Utility.createClassLoader(IEOClassLoaderFactory.java:39)
at 
org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.getEOModelClassLoader(GenerateSQLDialog.java:257)
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)

This issue is beyond my little knowledge of WOLips.

Angelo


Ângelo Andrade Cirino
aacir...@gmail.com

"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  (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

Re: Entity Modeler exception when trying to generate SQL

2015-05-04 Thread Ângelo Andrade Cirino
I’ve resorted to migrations, but then I had to fix a lot of things to get 
migrations working properly.

Fixing this issue of SQL generation demands knowledge of Eclipse plug-in 
development that I lack and, from the code I inspected trying to debug the 
issue, seems very hard to grasp in a short period. I am willing to help if some 
guidance is given.

Angelo

> Em 04/05/2015, à(s) 09:18, Ken Anderson  escreveu:
> 
> Has anyone made any progress on this?  If not, can anyone point me to 
> resources that would help me be able to develop/debug this?
> 
> Thanks,
> Ken

Ângelo Andrade Cirino
aacir...@gmail.com

"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  (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

Re: Entity Modeler exception when trying to generate SQL

2015-05-04 Thread Ken Anderson
Has anyone made any progress on this?  If not, can anyone point me to resources 
that would help me be able to develop/debug this?

Thanks,
Ken

> On Apr 29, 2015, at 8:20 PM, Ângelo Andrade Cirino  wrote:
> 
> Some more light on the issue. This is the first time I debug WOLips and I 
> have never attempted to change the code. That said, when debugging Entity 
> Modeler I was able to locate this exception thrown just before the exception 
> I originally reported was thrown:
> 
> org.eclipse.core.runtime.CoreException: Plug-in 
> org.objectstyle.wolips.eomodeler.eclipse was unable to load class 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.
> 
> !ENTRYat 
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
>   at 
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
>   at 
> org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
>   at 
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
>   at 
> org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
>   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)
> Caused by: java.lang.ClassNotFoundException: 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory cannot be 
> found by org.objectstyle.wolips.eomodeler.eclipse_1.0.6
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
>   at 
> org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   at 
> org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568)
>   at 
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
>   ... 7 more
>  org.objectstyle.wolips.eomodeler.core.ActivatorResources 4 4 2015-04-29 
> 21:13:07.546
> !MESSAGE Could not create SQL generator factory from configuration element: 
> org.eclipse.core.internal.registry.ConfigurationElementHandle@7b77
> !STACK 1
> org.eclipse.core.runtime.CoreException: Plug-in 
> org.objectstyle.wolips.eomodeler.eclipse was unable to load class 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.
>   at 
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
>   at 
> org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
>   at 
> org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
>   at 
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
>   at 
> org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
>   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)
> Caused by: java.lang.ClassNotFoundException: 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory cannot be 
> found by org.objectstyle.wolips.eomodeler.eclipse_1.0.6
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
>   at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
>   at 
> org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
&g

Re: Entity Modeler exception when trying to generate SQL

2015-04-29 Thread Ângelo Andrade Cirino
Some more light on the issue. This is the first time I debug WOLips and I have 
never attempted to change the code. That said, when debugging Entity Modeler I 
was able to locate this exception thrown just before the exception I originally 
reported was thrown:

org.eclipse.core.runtime.CoreException: Plug-in 
org.objectstyle.wolips.eomodeler.eclipse was unable to load class 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.

!ENTRY  at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
at 
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at 
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at 
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
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)
Caused by: java.lang.ClassNotFoundException: 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory cannot be 
found by org.objectstyle.wolips.eomodeler.eclipse_1.0.6
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at 
org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568)
at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
... 7 more
 org.objectstyle.wolips.eomodeler.core.ActivatorResources 4 4 2015-04-29 
21:13:07.546
!MESSAGE Could not create SQL generator factory from configuration element: 
org.eclipse.core.internal.registry.ConfigurationElementHandle@7b77
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in 
org.objectstyle.wolips.eomodeler.eclipse was unable to load class 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.
at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
at 
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at 
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at 
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
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)
Caused by: java.lang.ClassNotFoundException: 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory cannot be 
found by org.objectstyle.wolips.eomodeler.eclipse_1.0.6
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
at 
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at 
org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568)
at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
... 7 more
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2015-04-29 21:13:07.546
!MESSAGE Plug-in org.objectstyle.wolips.eomodeler.eclipse was unable to load 
class org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.
!STACK 0
java.lang.ClassNotFoundException: 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory

Re: Entity Modeler exception when trying to generate SQL

2015-04-29 Thread Ken Anderson
I am having the same problem.  Anyone getting closer to a solution?

Ken

> On Apr 29, 2015, at 7:55 AM, David Avendasora  
> wrote:
> 
>> 
>> On Apr 29, 2015, at 4:07 AM, Hugi Thordarson > > wrote:
>> 
>> I get this same error whenever attempting to generate SQL from Modeler. 
>> Happened after upgrading to WOLips from the new 4.4 repository, returning to 
>> my previous configuration (self compiled WOLips plugin) still works fine.
> 
> Really?! Your self-compiled is also 4.4? Let’s work together on figuring out 
> what is different in your build from the one being used by Jenkins.
> 
>>> On 29. apr. 2015, at 01:37, Ângelo Andrade Cirino >> > wrote:
>>> 
>>> Hi all,
>>> 
>>> I’ve setup FrontBase as my development database server and am using Eclipse 
>>> 4.4.2 and WOLips 4.4. When I try to generate SQL or reverse engineer a 
>>> database I get the following exception:
>>> 
>>> 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)
>>> 
>>> Any clues?
>>> 
>>> Angelo
>>> 
>>> -
>>> Ângelo Andrade Cirino
>>> aacir...@gmail.com 
>>> 
>>> "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  (Webobjects-dev@lists.apple.com 
>>> )
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is 
>>> 
>>> 
>>> This email sent to h...@karlmenn.is 
>> ___
>> 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/webobjects%40avendasora.com
>>  
>> 
>> 
>> This email sent to webobje...@avendasora.com 
>> 
> 
> —
> WebObjects - so easy that even Dave Avendasora can do it!™
> —
> David Avendasora
> Senior Software Abuser
> Nekesto, Inc.
> 
> 
> 
> 
> 
> ___
> 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/kenlists%40anderhome.com
>  
> 
> 
> This email sent to kenli...@anderhome.com 
 ___
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

Re: Entity Modeler exception when trying to generate SQL

2015-04-29 Thread David Avendasora

> On Apr 29, 2015, at 4:07 AM, Hugi Thordarson  wrote:
> 
> I get this same error whenever attempting to generate SQL from Modeler. 
> Happened after upgrading to WOLips from the new 4.4 repository, returning to 
> my previous configuration (self compiled WOLips plugin) still works fine.

Really?! Your self-compiled is also 4.4? Let’s work together on figuring out 
what is different in your build from the one being used by Jenkins.

>> On 29. apr. 2015, at 01:37, Ângelo Andrade Cirino > > wrote:
>> 
>> Hi all,
>> 
>> I’ve setup FrontBase as my development database server and am using Eclipse 
>> 4.4.2 and WOLips 4.4. When I try to generate SQL or reverse engineer a 
>> database I get the following exception:
>> 
>> 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)
>> 
>> Any clues?
>> 
>> Angelo
>> 
>> -
>> Ângelo Andrade Cirino
>> aacir...@gmail.com 
>> 
>> "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  (Webobjects-dev@lists.apple.com 
>> )
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is 
>> 
>> 
>> This email sent to h...@karlmenn.is 
> ___
> 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/webobjects%40avendasora.com
>  
> 
> 
> This email sent to webobje...@avendasora.com 
> 

—
WebObjects - so easy that even Dave Avendasora can do it!™
—
David Avendasora
Senior Software Abuser
Nekesto, Inc.





 ___
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

Re: Entity Modeler exception when trying to generate SQL

2015-04-29 Thread Hugi Thordarson
I get this same error whenever attempting to generate SQL from Modeler. 
Happened after upgrading to WOLips from the new 4.4 repository, returning to my 
previous configuration (self compiled WOLips plugin) still works fine.

Cheers,
- hugi

// Hugi Thordarson
// http://www.loftfar.is/ 
// s. 895-6688



> On 29. apr. 2015, at 01:37, Ângelo Andrade Cirino  wrote:
> 
> Hi all,
> 
> I’ve setup FrontBase as my development database server and am using Eclipse 
> 4.4.2 and WOLips 4.4. When I try to generate SQL or reverse engineer a 
> database I get the following exception:
> 
> 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)
> 
> Any clues?
> 
> Angelo
> 
> -
> Ângelo Andrade Cirino
> aacir...@gmail.com 
> 
> "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  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is
> 
> This email sent to h...@karlmenn.is

 ___
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

Entity Modeler exception when trying to generate SQL

2015-04-28 Thread Ângelo Andrade Cirino
Hi all,

I’ve setup FrontBase as my development database server and am using Eclipse 
4.4.2 and WOLips 4.4. When I try to generate SQL or reverse engineer a database 
I get the following exception:

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)

Any clues?

Angelo

-
Ângelo Andrade Cirino
aacir...@gmail.com

"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  (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

Re: Entity Modeler - SQL Generation Error

2014-09-20 Thread Troy Lumasag

Connection is pointing in local database.


On 9/20/14 10:29 PM, Paul Yu wrote:
What about your connection dictionary?  Where was that set on the old 
machine?


Sent from my iPad

On Sep 20, 2014, at 9:38 AM, Troy Lumasag <mailto:tluma...@gmail.com>> wrote:



Hello Paul, nope MySQLPlugin is in build path:
 
The error just came up after I setup my new workstation, everything 
else is working fine except Entity Modeler - Generate SQL


Troy

On 9/20/14 8:40 PM, Paul Yu wrote:

Troy

This sounds like a build path issue.  Either the MySQL plugin is not 
in you build path or some other MySQL related classpath issue.


Paul

Sent from my iPad

On Sep 20, 2014, at 6:49 AM, Troy Lumasag <mailto:tluma...@gmail.com>> wrote:



Hello Everyone,

Just wondering if anyone have ever encountered this error in Entity 
Modeler - SQL Generation.

Here is the stacktrace:

java.lang.IllegalStateException: Unable to load JDBCPlugIn 
'MySQLPlugIn' for JDBCAdaptor@1036753793. Check your connection 
dictionary and make sure the specified JDBCPlugIn subclass is in 
your classpath.
at 
com.webobjects.jdbcadaptor.JDBCAdaptor._createPlugIn(JDBCAdaptor.java:376)
at 
com.webobjects.jdbcadaptor.JDBCAdaptor.plugIn(JDBCAdaptor.java:439)
at 
com.webobjects.jdbcadaptor.JDBCAdaptor.plugInName(JDBCAdaptor.java:452)

at com.webobjects.eoaccess.EOAdaptor.hasPlugIns(EOAdaptor.java:570)
at 
com.webobjects.eoaccess.EOModel.createPrototypeCache(EOModel.java:645)
at 
com.webobjects.eoaccess.EOModel.prototypeAttributeNamed(EOModel.java:699)

at com.webobjects.eoaccess.EOAttribute.(EOAttribute.java:998)
at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:816)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.createLocalizedAttributes(EOFSQLGenerator53.java:339)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.localizeEntities(EOFSQLGenerator53.java:276)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.(EOFSQLGenerator53.java:206)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
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:695)

I have a working project and just basically moved to a new 
workstation and copied my Eclipse and Wolips configuration.

Then... Entity Modeler greeted me with this error.
I decided to have a fresh install using the same eclipse 
3.7(Indigo) and wolips: 
http://jenkins.wocommunity.org/job/WOLips37Stable/lastSuccessfulBuild/artifact/temp/dist/

Same error.

I googled and actually found just 1 related(actually, the same 
problem) problem:

http://objectstyle.org/woproject/lists/woproject-dev/2006/10/0148.html
Can anyone point me to the right direction?

Thanks in advance.

Regards,
Troy



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
<mailto:Webobjects-dev@lists.apple.com>)

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com

This email sent to p...@mac.com <mailto:p...@mac.com>




 ___
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


Re: Entity Modeler - SQL Generation Error

2014-09-20 Thread Paul Yu
What about your connection dictionary?  Where was that set on the old machine?

Sent from my iPad

> On Sep 20, 2014, at 9:38 AM, Troy Lumasag  wrote:
> 
> Hello Paul, nope MySQLPlugin is in build path:
>  
> The error just came up after I setup my new workstation, everything else is 
> working fine except Entity Modeler - Generate SQL
> 
> Troy
> 
>> On 9/20/14 8:40 PM, Paul Yu wrote:
>> Troy
>> 
>> This sounds like a build path issue.  Either the MySQL plugin is not in you 
>> build path or some other MySQL related classpath issue.
>> 
>> Paul
>> 
>> Sent from my iPad
>> 
>> On Sep 20, 2014, at 6:49 AM, Troy Lumasag  wrote:
>> 
>>> Hello Everyone,
>>> 
>>> Just wondering if anyone have ever encountered this error in Entity Modeler 
>>> - SQL Generation.
>>> Here is the stacktrace:
>>> 
>>> java.lang.IllegalStateException: Unable to load JDBCPlugIn 'MySQLPlugIn' 
>>> for JDBCAdaptor@1036753793.  Check your connection dictionary and make sure 
>>> the specified JDBCPlugIn subclass is in your classpath.
>>> at 
>>> com.webobjects.jdbcadaptor.JDBCAdaptor._createPlugIn(JDBCAdaptor.java:376)
>>> at com.webobjects.jdbcadaptor.JDBCAdaptor.plugIn(JDBCAdaptor.java:439)
>>> at 
>>> com.webobjects.jdbcadaptor.JDBCAdaptor.plugInName(JDBCAdaptor.java:452)
>>> at com.webobjects.eoaccess.EOAdaptor.hasPlugIns(EOAdaptor.java:570)
>>> at 
>>> com.webobjects.eoaccess.EOModel.createPrototypeCache(EOModel.java:645)
>>> at 
>>> com.webobjects.eoaccess.EOModel.prototypeAttributeNamed(EOModel.java:699)
>>> at com.webobjects.eoaccess.EOAttribute.(EOAttribute.java:998)
>>> at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:816)
>>> at 
>>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.createLocalizedAttributes(EOFSQLGenerator53.java:339)
>>> at 
>>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.localizeEntities(EOFSQLGenerator53.java:276)
>>> at 
>>> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.(EOFSQLGenerator53.java:206)
>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>> at 
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>> at 
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>> 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:695)
>>> 
>>> I have a working project and just basically moved to a new workstation and 
>>> copied my Eclipse and Wolips configuration.
>>> Then... Entity Modeler greeted me with this error. 
>>> I decided to have a fresh install using the same eclipse 3.7(Indigo) and 
>>> wolips: 
>>> http://jenkins.wocommunity.org/job/WOLips37Stable/lastSuccessfulBuild/artifact/temp/dist/
>>> Same error.
>>> 
>>> I googled and actually found just 1 related(actually, the same problem) 
>>> problem:
>>> http://objectstyle.org/woproject/lists/woproject-dev/2006/10/0148.html
>>> Can anyone point me to the right direction?
>>> 
>>> Thanks in advance.
>>> 
>>> Regards,
>>> Troy
>>> ___
>>> 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/pyu%40mac.com
>>> 
>>> This email sent to p...@mac.com
> 
 ___
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

Re: Entity Modeler - SQL Generation Error

2014-09-20 Thread Troy Lumasag

Hello Paul, nope MySQLPlugin is in build path:

The error just came up after I setup my new workstation, everything else 
is working fine except Entity Modeler - Generate SQL


Troy

On 9/20/14 8:40 PM, Paul Yu wrote:

Troy

This sounds like a build path issue.  Either the MySQL plugin is not 
in you build path or some other MySQL related classpath issue.


Paul

Sent from my iPad

On Sep 20, 2014, at 6:49 AM, Troy Lumasag <mailto:tluma...@gmail.com>> wrote:



Hello Everyone,

Just wondering if anyone have ever encountered this error in Entity 
Modeler - SQL Generation.

Here is the stacktrace:

java.lang.IllegalStateException: Unable to load JDBCPlugIn 
'MySQLPlugIn' for JDBCAdaptor@1036753793.  Check your connection 
dictionary and make sure the specified JDBCPlugIn subclass is in your 
classpath.
at 
com.webobjects.jdbcadaptor.JDBCAdaptor._createPlugIn(JDBCAdaptor.java:376)
at 
com.webobjects.jdbcadaptor.JDBCAdaptor.plugIn(JDBCAdaptor.java:439)
at 
com.webobjects.jdbcadaptor.JDBCAdaptor.plugInName(JDBCAdaptor.java:452)

at com.webobjects.eoaccess.EOAdaptor.hasPlugIns(EOAdaptor.java:570)
at 
com.webobjects.eoaccess.EOModel.createPrototypeCache(EOModel.java:645)
at 
com.webobjects.eoaccess.EOModel.prototypeAttributeNamed(EOModel.java:699)

at com.webobjects.eoaccess.EOAttribute.(EOAttribute.java:998)
at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:816)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.createLocalizedAttributes(EOFSQLGenerator53.java:339)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.localizeEntities(EOFSQLGenerator53.java:276)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.(EOFSQLGenerator53.java:206)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
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:695)

I have a working project and just basically moved to a new 
workstation and copied my Eclipse and Wolips configuration.

Then... Entity Modeler greeted me with this error.
I decided to have a fresh install using the same eclipse 3.7(Indigo) 
and wolips: 
http://jenkins.wocommunity.org/job/WOLips37Stable/lastSuccessfulBuild/artifact/temp/dist/

Same error.

I googled and actually found just 1 related(actually, the same 
problem) problem:

http://objectstyle.org/woproject/lists/woproject-dev/2006/10/0148.html
Can anyone point me to the right direction?

Thanks in advance.

Regards,
Troy



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
<mailto:Webobjects-dev@lists.apple.com>)

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com

This email sent to p...@mac.com <mailto:p...@mac.com>


 ___
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


Re: Entity Modeler - SQL Generation Error

2014-09-20 Thread Paul Yu
Troy

This sounds like a build path issue.  Either the MySQL plugin is not in you 
build path or some other MySQL related classpath issue.

Paul

Sent from my iPad

> On Sep 20, 2014, at 6:49 AM, Troy Lumasag  wrote:
> 
> Hello Everyone,
> 
> Just wondering if anyone have ever encountered this error in Entity Modeler - 
> SQL Generation.
> Here is the stacktrace:
> 
> java.lang.IllegalStateException: Unable to load JDBCPlugIn 'MySQLPlugIn' for 
> JDBCAdaptor@1036753793.  Check your connection dictionary and make sure the 
> specified JDBCPlugIn subclass is in your classpath.
> at 
> com.webobjects.jdbcadaptor.JDBCAdaptor._createPlugIn(JDBCAdaptor.java:376)
> at com.webobjects.jdbcadaptor.JDBCAdaptor.plugIn(JDBCAdaptor.java:439)
> at com.webobjects.jdbcadaptor.JDBCAdaptor.plugInName(JDBCAdaptor.java:452)
> at com.webobjects.eoaccess.EOAdaptor.hasPlugIns(EOAdaptor.java:570)
> at com.webobjects.eoaccess.EOModel.createPrototypeCache(EOModel.java:645)
> at 
> com.webobjects.eoaccess.EOModel.prototypeAttributeNamed(EOModel.java:699)
> at com.webobjects.eoaccess.EOAttribute.(EOAttribute.java:998)
> at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:816)
> at 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.createLocalizedAttributes(EOFSQLGenerator53.java:339)
> at 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.localizeEntities(EOFSQLGenerator53.java:276)
> at 
> org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.(EOFSQLGenerator53.java:206)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> 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:695)
> 
> I have a working project and just basically moved to a new workstation and 
> copied my Eclipse and Wolips configuration.
> Then... Entity Modeler greeted me with this error. 
> I decided to have a fresh install using the same eclipse 3.7(Indigo) and 
> wolips: 
> http://jenkins.wocommunity.org/job/WOLips37Stable/lastSuccessfulBuild/artifact/temp/dist/
> Same error.
> 
> I googled and actually found just 1 related(actually, the same problem) 
> problem:
> http://objectstyle.org/woproject/lists/woproject-dev/2006/10/0148.html
> Can anyone point me to the right direction?
> 
> Thanks in advance.
> 
> Regards,
> Troy
> 
> 
> 
> ___
> 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/pyu%40mac.com
> 
> This email sent to p...@mac.com
 ___
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

Entity Modeler - SQL Generation Error

2014-09-20 Thread Troy Lumasag

Hello Everyone,

Just wondering if anyone have ever encountered this error in Entity 
Modeler - SQL Generation.

Here is the stacktrace:

java.lang.IllegalStateException: Unable to load JDBCPlugIn 'MySQLPlugIn' 
for JDBCAdaptor@1036753793.  Check your connection dictionary and make 
sure the specified JDBCPlugIn subclass is in your classpath.
at 
com.webobjects.jdbcadaptor.JDBCAdaptor._createPlugIn(JDBCAdaptor.java:376)

at com.webobjects.jdbcadaptor.JDBCAdaptor.plugIn(JDBCAdaptor.java:439)
at 
com.webobjects.jdbcadaptor.JDBCAdaptor.plugInName(JDBCAdaptor.java:452)

at com.webobjects.eoaccess.EOAdaptor.hasPlugIns(EOAdaptor.java:570)
at 
com.webobjects.eoaccess.EOModel.createPrototypeCache(EOModel.java:645)
at 
com.webobjects.eoaccess.EOModel.prototypeAttributeNamed(EOModel.java:699)

at com.webobjects.eoaccess.EOAttribute.(EOAttribute.java:998)
at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:816)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.createLocalizedAttributes(EOFSQLGenerator53.java:339)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.localizeEntities(EOFSQLGenerator53.java:276)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.(EOFSQLGenerator53.java:206)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
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:695)

I have a working project and just basically moved to a new workstation 
and copied my Eclipse and Wolips configuration.

Then... Entity Modeler greeted me with this error.
I decided to have a fresh install using the same eclipse 3.7(Indigo) and 
wolips: 
http://jenkins.wocommunity.org/job/WOLips37Stable/lastSuccessfulBuild/artifact/temp/dist/

Same error.

I googled and actually found just 1 related(actually, the same problem) 
problem:

http://objectstyle.org/woproject/lists/woproject-dev/2006/10/0148.html
Can anyone point me to the right direction?

Thanks in advance.

Regards,
Troy



 ___
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


Entity Modeler standalone

2014-04-24 Thread Aaron Rosenzweig
Hi WOrriors,

I’ve put a freshly built pure java stand-alone EntityModeler here for the 
moment:

https://www.dropbox.com/s/npu2gx3b060j2sa/Entity%20Modeler_April_24_2014.zip

But before you get excited, read on… 

Dave Avendasora cued me in to pure java app version of Entity Modeler that was 
created ages ago by some people in the WOCommunity. He had it stashed away like 
a treasured gem scavenged from a pharaoh’s tomb.

Dave passed it to me and I tried it out. It wouldn’t open the primary EOModel 
file in our biggest app. It got stuck on “Please Wait” and cpu was idle. I had 
to force quit. 

After installing a “delta pack”, etc. for Eclipse and looking at the WOLips 
source tree I see that there is a way to build it standalone. What it creates 
is a streamlined version of Eclipse with only the Entity Modeler bits and a 
custom UI. For all intents and purposes it’s a pure java app. A pure java 
standalone Entity Modeler.

So I did just that, right now, after a bit of futzing it is now a 
double-clickable app. It also opens that EOModel file that Dave’s old version 
could not. I started to get excited...

Unfortunately I don’t see it as being truly useful for the following reasons:

1) It won’t let you make a “Model Group” file.

2) It doesn’t appear to have any sense of your project tree which leads to the 
additional issues below

3) It won’t find your Prototypes. I believe the original Apple Cocoa app with 
the Objective-C-Java-bridge relied on the .pbxProj file to find the Prototypes. 
I have no idea if this java app looks for anything like a build.xml file but I 
can’t get it to find our prototypes. 

4) It won’t find other Entity Model files in your app, it can only open one at 
a time. 

Perhaps that’s why it’s obscure… I previously never even knew this app existed… 
it’s close but not quite usable. I was hoping it would be a “go to app” that 
would always work for modifying models, reverse engineering, and generating SQL 
tables but, alas, it’s not that today. 

If anyone wants to download and play with it please do. If you have other ideas 
or want to maybe push it further it might be doable but the Eclipse stuff seems 
like a quagmire I want to sidestep. If you think it is useful as is, please 
post it to WOCommunity for others to use. 
AARON ROSENZWEIG / Chat 'n Bike
e:  aa...@chatnbike.com  t:  (301) 956-2319 


 ___
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

Re: Entity Modeler ?

2014-02-16 Thread Aaron Rosenzweig
Hi Ted,

Cool. Glad that worked for you :-) There’s no way for you to have known… you 
have to be a dinosaur. Once upon a time there was a “backspace” and a “delete” 
key. They are different. Now, on most Mac keyboards, you only have a 
“backspace” key but it is labeled as “delete.” And that Entity modeler is only 
coded up for a “true” delete. To emulate a true “delete” you do fn-backspace.

Cheers,
AARON ROSENZWEIG / Chat 'n Bike
e:  aa...@chatnbike.com  t:  (301) 956-2319 


On Feb 17, 2014, at 12:02 AM, Theodore Petrosky  wrote:

> I just tried it on my Laptop (not the full sized keyboard). 
> 
> I selected the default that existed and held a shift-fn delete. and the 
> Userinfo was deleted. I would never have guessed the function key.
> 
> there you go Jean Pierre and David
> 
> On Feb 16, 2014, at 11:16 PM, Aaron Rosenzweig  wrote:
> 
>> Hi Ted and others,
>> 
>> The answer is:
>> 
>> fn-delete
>> 
>> That is, you hit the “function key” on your Mac laptop which is labelled 
>> “fn” and is to the bottom left of the keyboard and then while it is pressed 
>> you hit the backspace key which is often labelled “delete” these days or 
>> “backspace” on older keyboards. 
>> 
>> This will blow away things in the User Info.
>> 
>> If you have a full keyboard (not a laptop) then there is a dedicated delete 
>> key. If you use a word processor it is that other key that stays in one spot 
>> buts starts sucking text into itself.
>> 
>> I guess that was clear as mud...
>> 
>> Cheers,
>> AARON ROSENZWEIG / Chat 'n Bike
>> e:  aa...@chatnbike.com  t:  (301) 956-2319  
>>  
>> 
>> On Feb 13, 2014, at 10:10 AM, David LeBer  
>> wrote:
>> 
>>> Conversely,
>>> 
>>> 1. In WOLips, ctrl click on the EO model, choose Show in -> Navigator
>>>  (switches to navigator view)
>>> 2. Click the disclosure triangle beside the EO model
>>> 3. Click the Entity.plist you are interested in.
>>> 
>>> You can configure Eclipse’s file associations to open .plist files in the 
>>> local text editor or an external one if you wish.
>>> 
>>> D
>>> 
>>> On Feb 13, 2014, at 9:39 AM, Theodore Petrosky  wrote:
>>> 
>>>> My solution is to navigate in the finder to the .eomodeld file. This 
>>>> actually shows up as a folder. In there are all the .plist files for the 
>>>> model. 
>>>> 
>>>> I make sure I quit Entity Modeler (I don't know if there is an issue with 
>>>> accessing the .plist while both Entity Modeler and my text editor are 
>>>> looking at the file so I quit Entity Modeler), open the plist in my text 
>>>> editor (TextWrangler) and delete the userInfo = {"" = ""; }; line.
>>>> 
>>>> Not elegant, but it works. BTW, I just tried it with both the text editor 
>>>> and Entity Modeler running. Entity Modeler doesn't see the change until I 
>>>> quit and relaunched.
>>>> 
>>>> Ted
>>>> 
>>>> On Feb 13, 2014, at 4:22 AM, Jean Pierre Malrieu  
>>>> wrote:
>>>> 
>>>>> Good question! I could not figure it out either (Eclipse 4.3), so my use 
>>>>> rinfo are full of stuff I can't delete :-(
>>>>> 
>>>>> JPM
>>>>> 
>>>>> Le 12 févr. 2014 à 21:09, Theodore Petrosky  a écrit :
>>>>> 
>>>>>> I am starting a new project and I thought I would learn some new stuff.
>>>>>> 
>>>>>> If one adds a default the User Info section, what is the correct way to 
>>>>>> delete it? I tried in Entity Modeler but it leaves kaka behind. My 
>>>>>> solution was to open the .plist and delete the userinfo = {}  line.
>>>>>> 
>>>>>> am i missing something in Entity Modeler?
>>>>>> 
>>>>>> Ted
>>>>>> ___
>>>>>> 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/jp.malrieu%40free.fr
>>>>>> 
>>>>>> This email sent to jp.malr...@free.fr
>>>>> 
>>>>> 
>>>>> ___
>&

Re: Entity Modeler ?

2014-02-16 Thread Theodore Petrosky
I just tried it on my Laptop (not the full sized keyboard). 

I selected the default that existed and held a shift-fn delete. and the 
Userinfo was deleted. I would never have guessed the function key.

there you go Jean Pierre and David

On Feb 16, 2014, at 11:16 PM, Aaron Rosenzweig  wrote:

> Hi Ted and others,
> 
> The answer is:
> 
> fn-delete
> 
> That is, you hit the “function key” on your Mac laptop which is labelled “fn” 
> and is to the bottom left of the keyboard and then while it is pressed you 
> hit the backspace key which is often labelled “delete” these days or 
> “backspace” on older keyboards. 
> 
> This will blow away things in the User Info.
> 
> If you have a full keyboard (not a laptop) then there is a dedicated delete 
> key. If you use a word processor it is that other key that stays in one spot 
> buts starts sucking text into itself.
> 
> I guess that was clear as mud...
> 
> Cheers,
> AARON ROSENZWEIG / Chat 'n Bike
> e:  aa...@chatnbike.com  t:  (301) 956-2319   
>   
> 
> On Feb 13, 2014, at 10:10 AM, David LeBer  wrote:
> 
>> Conversely,
>> 
>> 1. In WOLips, ctrl click on the EO model, choose Show in -> Navigator
>>   (switches to navigator view)
>> 2. Click the disclosure triangle beside the EO model
>> 3. Click the Entity.plist you are interested in.
>> 
>> You can configure Eclipse’s file associations to open .plist files in the 
>> local text editor or an external one if you wish.
>> 
>> D
>> 
>> On Feb 13, 2014, at 9:39 AM, Theodore Petrosky  wrote:
>> 
>>> My solution is to navigate in the finder to the .eomodeld file. This 
>>> actually shows up as a folder. In there are all the .plist files for the 
>>> model. 
>>> 
>>> I make sure I quit Entity Modeler (I don't know if there is an issue with 
>>> accessing the .plist while both Entity Modeler and my text editor are 
>>> looking at the file so I quit Entity Modeler), open the plist in my text 
>>> editor (TextWrangler) and delete the userInfo = {"" = ""; }; line.
>>> 
>>> Not elegant, but it works. BTW, I just tried it with both the text editor 
>>> and Entity Modeler running. Entity Modeler doesn't see the change until I 
>>> quit and relaunched.
>>> 
>>> Ted
>>> 
>>> On Feb 13, 2014, at 4:22 AM, Jean Pierre Malrieu  wrote:
>>> 
>>>> Good question! I could not figure it out either (Eclipse 4.3), so my use 
>>>> rinfo are full of stuff I can't delete :-(
>>>> 
>>>> JPM
>>>> 
>>>> Le 12 févr. 2014 à 21:09, Theodore Petrosky  a écrit :
>>>> 
>>>>> I am starting a new project and I thought I would learn some new stuff.
>>>>> 
>>>>> If one adds a default the User Info section, what is the correct way to 
>>>>> delete it? I tried in Entity Modeler but it leaves kaka behind. My 
>>>>> solution was to open the .plist and delete the userinfo = {}  line.
>>>>> 
>>>>> am i missing something in Entity Modeler?
>>>>> 
>>>>> Ted
>>>>> ___
>>>>> 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/jp.malrieu%40free.fr
>>>>> 
>>>>> This email sent to jp.malr...@free.fr
>>>> 
>>>> 
>>>> ___
>>>> 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/tedpet5%40yahoo.com
>>>> 
>>>> This email sent to tedp...@yahoo.com
>>> 
>>> 
>>> ___
>>> 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/dleber_wodev%40codeferous.com
>>> 
>>> This email sent to dleber_wo...@codeferous.com
>> 
>> 
>> ___
>> 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/aaron%40chatnbike.com
>> 
>> This email sent to aa...@chatnbike.com
> 


 ___
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

Re: Entity Modeler ?

2014-02-16 Thread Aaron Rosenzweig
Hi Ted and others,

The answer is:

fn-delete

That is, you hit the “function key” on your Mac laptop which is labelled “fn” 
and is to the bottom left of the keyboard and then while it is pressed you hit 
the backspace key which is often labelled “delete” these days or “backspace” on 
older keyboards. 

This will blow away things in the User Info.

If you have a full keyboard (not a laptop) then there is a dedicated delete 
key. If you use a word processor it is that other key that stays in one spot 
buts starts sucking text into itself.

I guess that was clear as mud...

Cheers,
AARON ROSENZWEIG / Chat 'n Bike
e:  aa...@chatnbike.com  t:  (301) 956-2319 


On Feb 13, 2014, at 10:10 AM, David LeBer  wrote:

> Conversely,
> 
> 1. In WOLips, ctrl click on the EO model, choose Show in -> Navigator
>(switches to navigator view)
> 2. Click the disclosure triangle beside the EO model
> 3. Click the Entity.plist you are interested in.
> 
> You can configure Eclipse’s file associations to open .plist files in the 
> local text editor or an external one if you wish.
> 
> D
> 
> On Feb 13, 2014, at 9:39 AM, Theodore Petrosky  wrote:
> 
>> My solution is to navigate in the finder to the .eomodeld file. This 
>> actually shows up as a folder. In there are all the .plist files for the 
>> model. 
>> 
>> I make sure I quit Entity Modeler (I don't know if there is an issue with 
>> accessing the .plist while both Entity Modeler and my text editor are 
>> looking at the file so I quit Entity Modeler), open the plist in my text 
>> editor (TextWrangler) and delete the userInfo = {"" = ""; }; line.
>> 
>> Not elegant, but it works. BTW, I just tried it with both the text editor 
>> and Entity Modeler running. Entity Modeler doesn't see the change until I 
>> quit and relaunched.
>> 
>> Ted
>> 
>> On Feb 13, 2014, at 4:22 AM, Jean Pierre Malrieu  wrote:
>> 
>>> Good question! I could not figure it out either (Eclipse 4.3), so my use 
>>> rinfo are full of stuff I can't delete :-(
>>> 
>>> JPM
>>> 
>>> Le 12 févr. 2014 à 21:09, Theodore Petrosky  a écrit :
>>> 
>>>> I am starting a new project and I thought I would learn some new stuff.
>>>> 
>>>> If one adds a default the User Info section, what is the correct way to 
>>>> delete it? I tried in Entity Modeler but it leaves kaka behind. My 
>>>> solution was to open the .plist and delete the userinfo = {}  line.
>>>> 
>>>> am i missing something in Entity Modeler?
>>>> 
>>>> Ted
>>>> ___
>>>> 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/jp.malrieu%40free.fr
>>>> 
>>>> This email sent to jp.malr...@free.fr
>>> 
>>> 
>>> ___
>>> 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/tedpet5%40yahoo.com
>>> 
>>> This email sent to tedp...@yahoo.com
>> 
>> 
>> ___
>> 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/dleber_wodev%40codeferous.com
>> 
>> This email sent to dleber_wo...@codeferous.com
> 
> 
> ___
> 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/aaron%40chatnbike.com
> 
> This email sent to aa...@chatnbike.com

 ___
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

Re: Entity Modeler ?

2014-02-13 Thread David LeBer
Conversely,

1. In WOLips, ctrl click on the EO model, choose Show in -> Navigator
(switches to navigator view)
2. Click the disclosure triangle beside the EO model
3. Click the Entity.plist you are interested in.

You can configure Eclipse’s file associations to open .plist files in the local 
text editor or an external one if you wish.

D

On Feb 13, 2014, at 9:39 AM, Theodore Petrosky  wrote:

> My solution is to navigate in the finder to the .eomodeld file. This actually 
> shows up as a folder. In there are all the .plist files for the model. 
> 
> I make sure I quit Entity Modeler (I don't know if there is an issue with 
> accessing the .plist while both Entity Modeler and my text editor are looking 
> at the file so I quit Entity Modeler), open the plist in my text editor 
> (TextWrangler) and delete the userInfo = {"" = ""; }; line.
> 
> Not elegant, but it works. BTW, I just tried it with both the text editor and 
> Entity Modeler running. Entity Modeler doesn't see the change until I quit 
> and relaunched.
> 
> Ted
> 
> On Feb 13, 2014, at 4:22 AM, Jean Pierre Malrieu  wrote:
> 
>> Good question! I could not figure it out either (Eclipse 4.3), so my use 
>> rinfo are full of stuff I can't delete :-(
>> 
>> JPM
>> 
>> Le 12 févr. 2014 à 21:09, Theodore Petrosky  a écrit :
>> 
>>> I am starting a new project and I thought I would learn some new stuff.
>>> 
>>> If one adds a default the User Info section, what is the correct way to 
>>> delete it? I tried in Entity Modeler but it leaves kaka behind. My solution 
>>> was to open the .plist and delete the userinfo = {}  line.
>>> 
>>> am i missing something in Entity Modeler?
>>> 
>>> Ted
>>> ___
>>> 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/jp.malrieu%40free.fr
>>> 
>>> This email sent to jp.malr...@free.fr
>> 
>> 
>> ___
>> 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/tedpet5%40yahoo.com
>> 
>> This email sent to tedp...@yahoo.com
> 
> 
> ___
> 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/dleber_wodev%40codeferous.com
> 
> This email sent to dleber_wo...@codeferous.com


 ___
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

Re: Entity Modeler ?

2014-02-13 Thread Theodore Petrosky
My solution is to navigate in the finder to the .eomodeld file. This actually 
shows up as a folder. In there are all the .plist files for the model. 

I make sure I quit Entity Modeler (I don't know if there is an issue with 
accessing the .plist while both Entity Modeler and my text editor are looking 
at the file so I quit Entity Modeler), open the plist in my text editor 
(TextWrangler) and delete the userInfo = {"" = ""; }; line.

Not elegant, but it works. BTW, I just tried it with both the text editor and 
Entity Modeler running. Entity Modeler doesn't see the change until I quit and 
relaunched.

Ted

On Feb 13, 2014, at 4:22 AM, Jean Pierre Malrieu  wrote:

> Good question! I could not figure it out either (Eclipse 4.3), so my use 
> rinfo are full of stuff I can't delete :-(
> 
> JPM
> 
> Le 12 févr. 2014 à 21:09, Theodore Petrosky  a écrit :
> 
>> I am starting a new project and I thought I would learn some new stuff.
>> 
>> If one adds a default the User Info section, what is the correct way to 
>> delete it? I tried in Entity Modeler but it leaves kaka behind. My solution 
>> was to open the .plist and delete the userinfo = {}  line.
>> 
>> am i missing something in Entity Modeler?
>> 
>> Ted
>> ___
>> 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/jp.malrieu%40free.fr
>> 
>> This email sent to jp.malr...@free.fr
> 
> 
> ___
> 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/tedpet5%40yahoo.com
> 
> This email sent to tedp...@yahoo.com


 ___
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

Re: Entity Modeler ?

2014-02-13 Thread Jean Pierre Malrieu
Good question! I could not figure it out either (Eclipse 4.3), so my use rinfo 
are full of stuff I can't delete :-(

JPM

Le 12 févr. 2014 à 21:09, Theodore Petrosky  a écrit :

> I am starting a new project and I thought I would learn some new stuff.
> 
> If one adds a default the User Info section, what is the correct way to 
> delete it? I tried in Entity Modeler but it leaves kaka behind. My solution 
> was to open the .plist and delete the userinfo = {}  line.
> 
> am i missing something in Entity Modeler?
> 
> Ted
> ___
> 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/jp.malrieu%40free.fr
> 
> This email sent to jp.malr...@free.fr


 ___
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

Entity Modeler ?

2014-02-12 Thread Theodore Petrosky
I am starting a new project and I thought I would learn some new stuff.

If one adds a default the User Info section, what is the correct way to delete 
it? I tried in Entity Modeler but it leaves kaka behind. My solution was to 
open the .plist and delete the userinfo = {}  line.

am i missing something in Entity Modeler?

Ted
 ___
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

Re: Entity Modeler, String rtrim not trimming?

2012-10-24 Thread gsbrown
I think I got it.

Java string trim does trim whitespace at the beginning or ending of a
string.

erprototypes trim is more a lack of padding spaces to fit a fixed width
character db field when strings are coming out or into a db.

A varchar really doesn't need padding, so a rtrim may not do much with
a varchar. (Which is what I am seeing, I think.)

A string also may be truncated to fit in a too small db field; here a
varchar may be trimmed to fit.

Where's that caffeine?

On Oct 24, 2012, at 2:53 PM, gsbr...@umich.edu wrote:

  HI,



I have an eomodel which uses a Frontbase varchar and the string rtrim
variety to put strings into the db.



I thought the default rtrim would/should trim spaces at the end of a
string, but I have strings with "NAME ", i.e. a single space after some
non whitespace characters.



Should the rtrim type of string have a trailing space? Or should it
have maybe one?



Also, is there a good explanation of all the data types we find in
erprototypes? There are quite a few types in there.



Thanks,



Greg Brown
gsbr...@umich.edu

--

[1]gsbr...@umich.edu

 ___

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/gsbrown%40umich.
edu



This email sent to gsbr...@umich.edu


Greg Brown
gsbr...@umich.edu

References

1. mailto:gsbr...@umich.edu
-- 
  
  gsbr...@umich.edu

 ___
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


Entity Modeler, String rtrim not trimming?

2012-10-24 Thread gsbrown
HI,
I have an eomodel which uses a Frontbase varchar and the string rtrim
variety to put strings into the db.
I thought the default rtrim would/should trim spaces at the end of a
string, but I have strings with "NAME ", i.e. a single space after some
non whitespace characters.
Should the rtrim type of string have a trailing space? Or should it
have maybe one?
Also, is there a good explanation of all the data types we find in
erprototypes? There are quite a few types in there.
Thanks,
Greg Brown
gsbr...@umich.edu
-- 
  
  gsbr...@umich.edu

 ___
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


Re: Entity Modeler, attributes default value for migrations

2012-04-19 Thread Theodore Petrosky
But here is the gotcha!

in Entity Modeler (or hand editing the plist file) you must use 

userInfo = {default = 0; };

note the zero NOT false!!

if you use 'false' or 'true', EM creates the migrations okay, however creating 
a new object in D2W throws errors:


Apr 19 18:05:52 ASBriefsD2W[57541] WARN  NSLog  - 
: Exception 
occurred while handling request:
java.lang.NumberFormatException
[2012-4-19 18:5:52 EDT]  java.lang.NumberFormatException
at java.math.BigDecimal.(BigDecimal.java:459)
at java.math.BigDecimal.(BigDecimal.java:728)

so the userInfo = {default = 0; };

thank you John for pointing out the zero.

Ted



--- On Wed, 4/18/12, Chuck Hill  wrote:

> From: Chuck Hill 
> Subject: Re: Entity Modeler, attributes default value for migrations
> To: "John Huss" 
> Cc: "Theodore Petrosky" , "WebObjects-Dev Mailing List 
> List" 
> Date: Wednesday, April 18, 2012, 5:05 PM
> Hand edit? 
> Eeew!   :-P
> 
> Select the property and then the User Info tab in the
> Properties inspector.  Click where it says (0 items)
> and hit Enter.  Edit the name and value.
> 
> 
> Chuck
> 
> 
> On 2012-04-18, at 1:07 PM, John Huss wrote:
> 
> > You have to add it manually into the userInfo
> dictionary by editing by model with a text editor.  For
> example, for the ATTRIBUTE called "deleted":
> > 
> > ...
> >         {
> >         
>    columnName = "scp_deleted"; 
> >         
>    name = deleted; 
> >         
>    prototypeName = intBoolean; 
> >         
>    userInfo = {default = 0; }; 
> >         
>    width = 1; 
> >         }
> > ...
> > 
> > On Wed, Apr 18, 2012 at 2:33 PM, Theodore Petrosky
> 
> wrote:
> > When I create an attribute in Entity Modeler, and
> create the migrations, it does a beautiful job.
> > 
> > creativeBriefTable.newFlagBooleanColumn("isfiled",
> false);
> > 
> > and I know I can add a default value here
> > 
> > creativeBriefTable.newFlagBooleanColumn("isfiled",
> false, false);
> > 
> > problem is that if I go back and alter the schema and
> recreate the migration, I must remember to add in the
> default selector(s).
> > 
> > I don't see in EM where I could put in a default value
> (or I am blind).
> > 
> > Is there a place to put in a default value in Entity
> Modeler so the migrations it creates include the default
> value?
> > 
> > Ted
> >  ___
> > 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/johnthuss%40gmail.com
> > 
> > This email sent to johnth...@gmail.com
> > 
> > ___
> > 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/chill%40global-village.net
> > 
> > This email sent to ch...@global-village.net
> 
> -- 
> Chuck Hill         
>    Senior Consultant / VP Development
> 
> Practical WebObjects - for developers who want to increase
> their overall knowledge of WebObjects or who are trying to
> solve specific problems.    
> http://www.global-village.net/gvc/practical_webobjects
> 
> 
> 
> 
> 
> 
> 
> 
>


 ___
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

Re: Entity Modeler, attributes default value for migrations

2012-04-19 Thread Theodore Petrosky
I didn't understand 'edit manually' until I used Chuck's method of adding a 
"User Info" entry in Entity Modeler. Then I used TextMate on the plist and 
understood.
Thanks,
Ted



--- On Wed, 4/18/12, John Huss  wrote:

From: John Huss 
Subject: Re: Entity Modeler, attributes default value for migrations
To: "Theodore Petrosky" , "WebObjects-Dev Mailing List List" 

Date: Wednesday, April 18, 2012, 4:07 PM

You have to add it manually into the userInfo dictionary by editing by model 
with a text editor.  For example, for the ATTRIBUTE called "deleted":
...        {            columnName = "scp_deleted"; 
            name = deleted;             prototypeName = intBoolean;             
userInfo = {default = 0; };             width = 1;         }...

On Wed, Apr 18, 2012 at 2:33 PM, Theodore Petrosky  wrote:

When I create an attribute in Entity Modeler, and create the migrations, it 
does a beautiful job.



creativeBriefTable.newFlagBooleanColumn("isfiled", false);



and I know I can add a default value here



creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);



problem is that if I go back and alter the schema and recreate the migration, I 
must remember to add in the default selector(s).



I don't see in EM where I could put in a default value (or I am blind).



Is there a place to put in a default value in Entity Modeler so the migrations 
it creates include the default value?



Ted

 ___

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/johnthuss%40gmail.com



This email sent to johnth...@gmail.com



 ___
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


Re: Entity Modeler, attributes default value for migrations

2012-04-18 Thread Theodore Petrosky
that was so intuitive that I can not believe I didn't just stumble across it. 
It creates a little weird syntax. I was expecting:

creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);

what i got was:

creativeBriefTable.newFlagBooleanColumn("isfiled", false, 
er.extensions.foundation.ERXValueUtilities.booleanValue("false"));

Obviously, it is just fine, just a little wordy.

Thank you,

Ted


--- On Wed, 4/18/12, Chuck Hill  wrote:

> From: Chuck Hill 
> Subject: Re: Entity Modeler, attributes default value for migrations
> To: "John Huss" 
> Cc: "Theodore Petrosky" , "WebObjects-Dev Mailing List 
> List" 
> Date: Wednesday, April 18, 2012, 5:05 PM
> Hand edit? 
> Eeew!   :-P
> 
> Select the property and then the User Info tab in the
> Properties inspector.  Click where it says (0 items)
> and hit Enter.  Edit the name and value.
> 
> 
> Chuck
> 
> 
> On 2012-04-18, at 1:07 PM, John Huss wrote:
> 
> > You have to add it manually into the userInfo
> dictionary by editing by model with a text editor.  For
> example, for the ATTRIBUTE called "deleted":
> > 
> > ...
> >         {
> >         
>    columnName = "scp_deleted"; 
> >         
>    name = deleted; 
> >         
>    prototypeName = intBoolean; 
> >         
>    userInfo = {default = 0; }; 
> >         
>    width = 1; 
> >         }
> > ...
> > 
> > On Wed, Apr 18, 2012 at 2:33 PM, Theodore Petrosky
> 
> wrote:
> > When I create an attribute in Entity Modeler, and
> create the migrations, it does a beautiful job.
> > 
> > creativeBriefTable.newFlagBooleanColumn("isfiled",
> false);
> > 
> > and I know I can add a default value here
> > 
> > creativeBriefTable.newFlagBooleanColumn("isfiled",
> false, false);
> > 
> > problem is that if I go back and alter the schema and
> recreate the migration, I must remember to add in the
> default selector(s).
> > 
> > I don't see in EM where I could put in a default value
> (or I am blind).
> > 
> > Is there a place to put in a default value in Entity
> Modeler so the migrations it creates include the default
> value?
> > 
> > Ted
> >  ___
> > 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/johnthuss%40gmail.com
> > 
> > This email sent to johnth...@gmail.com
> > 
> > ___
> > 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/chill%40global-village.net
> > 
> > This email sent to ch...@global-village.net
> 
> -- 
> Chuck Hill         
>    Senior Consultant / VP Development
> 
> Practical WebObjects - for developers who want to increase
> their overall knowledge of WebObjects or who are trying to
> solve specific problems.    
> http://www.global-village.net/gvc/practical_webobjects
> 
> 
> 
> 
> 
> 
> 
> 
> 

 ___
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

Re: Entity Modeler, attributes default value for migrations

2012-04-18 Thread Chuck Hill
Hand edit?  Eeew!   :-P

Select the property and then the User Info tab in the Properties inspector.  
Click where it says (0 items) and hit Enter.  Edit the name and value.


Chuck


On 2012-04-18, at 1:07 PM, John Huss wrote:

> You have to add it manually into the userInfo dictionary by editing by model 
> with a text editor.  For example, for the ATTRIBUTE called "deleted":
> 
> ...
> {
> columnName = "scp_deleted"; 
> name = deleted; 
> prototypeName = intBoolean; 
> userInfo = {default = 0; }; 
> width = 1; 
> }
> ...
> 
> On Wed, Apr 18, 2012 at 2:33 PM, Theodore Petrosky  wrote:
> When I create an attribute in Entity Modeler, and create the migrations, it 
> does a beautiful job.
> 
> creativeBriefTable.newFlagBooleanColumn("isfiled", false);
> 
> and I know I can add a default value here
> 
> creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);
> 
> problem is that if I go back and alter the schema and recreate the migration, 
> I must remember to add in the default selector(s).
> 
> I don't see in EM where I could put in a default value (or I am blind).
> 
> Is there a place to put in a default value in Entity Modeler so the 
> migrations it creates include the default value?
> 
> Ted
>  ___
> 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/johnthuss%40gmail.com
> 
> This email sent to johnth...@gmail.com
> 
> ___
> 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/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects










smime.p7s
Description: S/MIME cryptographic signature
 ___
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


Re: Entity Modeler, attributes default value for migrations

2012-04-18 Thread David Holt
Thanks John!

Learn something every day :-)

David

On 2012-04-18, at 1:42 PM, John Huss wrote:

> I was hoping there was a box in Entity Modeler that said, "Default Value".
> 
> There is no box, but if you hand-edit the file like I said it will do what 
> you want. 
> ___
> 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/programmingosx%40mac.com
> 
> This email sent to programming...@mac.com

 ___
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


Re: Entity Modeler, attributes default value for migrations

2012-04-18 Thread John Huss
>
> I was hoping there was a box in Entity Modeler that said, "Default Value".
>

There is no box, but if you hand-edit the file like I said it will do what
you want.
 ___
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


Re: Entity Modeler, attributes default value for migrations

2012-04-18 Thread Theodore Petrosky
No not really,
I create a model that has an attribute (an intBoolean) called isFiled. I ask 
Entity Modeler to create the migrations for me and it gives me:


@Override
public void upgrade(EOEditingContext editingContext, ERXMigrationDatabase 
database) throws Throwable {


ERXMigrationTable creativeBriefTable = 
database.newTableNamed("creativebrief");
creativeBriefTable.newIntegerColumn("id", false);
creativeBriefTable.newFlagBooleanColumn("isfiled", false);
creativeBriefTable.newLargeStringColumn("jobnumber", true); 
creativeBriefTable.create();creativeBriefTable.setPrimaryKey("id");}
notice it created:
creativeBriefTable.newFlagBooleanColumn("isfiled", false);
except I need:
creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);
the last property is the 'default' value.
from psql:
isfiled    | boolean | not null default false
it is no big deal except in the design stage of a database. if I mess with the 
schema and recreate the migrations, I have to remember which attributes I 
created default values for.
I was hoping there was a box in Entity Modeler that said, "Default Value".

there are two signatures for newFlagBooleanColumn
newFlagBooleanColumn(name, allowNull)newFlagBooleanColumn(name, allowNull, 
defalutValue)
newIntegerColumn is the same (two signatures)
Ted


--- On Wed, 4/18/12, David Holt  wrote:

From: David Holt 
Subject: Re: Entity Modeler, attributes default value for migrations
To: "Theodore Petrosky" 
Cc: webobjects-dev@lists.apple.com
Date: Wednesday, April 18, 2012, 4:19 PM

Hi Ted,
You can use EOF to set your values in migrations, so I guess you could set your 
default values in your entity? 
See Mike's example app SecretPal and the SecretPal0 migration postUpgrade 
method. That might give you what you are looking for.
Also just recently someone (Ramsey?) posted that you can put default values in 
your User Info Dictionary for the entity.
Before I found out about this approach I was using direct SQL statements (which 
means that the migration may/will break across databases, so Mike's method is 
better if you can do it).
  @Override  public void upgrade(EOEditingContext editingContext, 
ERXMigrationDatabase database) throws Throwable {    
ERXJDBCUtilities.executeUpdate(database.adaptorChannel(), "INSERT INTO Role 
(roleDescription,id) VALUES ('Admin',1)", true);  }
Is this what you're after?
David

On 2012-04-18, at 12:33 PM, Theodore Petrosky wrote:
When I create an attribute in Entity Modeler, and create the migrations, it 
does a beautiful job.

creativeBriefTable.newFlagBooleanColumn("isfiled", false);

and I know I can add a default value here

creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);

problem is that if I go back and alter the schema and recreate the migration, I 
must remember to add in the default selector(s).

I don't see in EM where I could put in a default value (or I am blind).

Is there a place to put in a default value in Entity Modeler so the migrations 
it creates include the default value?

Ted
 ___
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/programmingosx%40mac.com

This email sent to programming...@mac.com

 ___
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


Re: Entity Modeler, attributes default value for migrations

2012-04-18 Thread David Holt
Hi Ted,

You can use EOF to set your values in migrations, so I guess you could set your 
default values in your entity? 

See Mike's example app SecretPal and the SecretPal0 migration postUpgrade 
method. That might give you what you are looking for.

Also just recently someone (Ramsey?) posted that you can put default values in 
your User Info Dictionary for the entity.

Before I found out about this approach I was using direct SQL statements (which 
means that the migration may/will break across databases, so Mike's method is 
better if you can do it).

  @Override
  public void upgrade(EOEditingContext editingContext, ERXMigrationDatabase 
database) throws Throwable {
ERXJDBCUtilities.executeUpdate(database.adaptorChannel(), "INSERT INTO Role 
(roleDescription,id) VALUES ('Admin',1)", true);
  }

Is this what you're after?

David


On 2012-04-18, at 12:33 PM, Theodore Petrosky wrote:

> When I create an attribute in Entity Modeler, and create the migrations, it 
> does a beautiful job.
> 
> creativeBriefTable.newFlagBooleanColumn("isfiled", false);
> 
> and I know I can add a default value here
> 
> creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);
> 
> problem is that if I go back and alter the schema and recreate the migration, 
> I must remember to add in the default selector(s).
> 
> I don't see in EM where I could put in a default value (or I am blind).
> 
> Is there a place to put in a default value in Entity Modeler so the 
> migrations it creates include the default value?
> 
> Ted
> ___
> 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/programmingosx%40mac.com
> 
> This email sent to programming...@mac.com

 ___
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


Re: Entity Modeler, attributes default value for migrations

2012-04-18 Thread John Huss
You have to add it manually into the userInfo dictionary by editing by
model with a text editor.  For example, for the ATTRIBUTE called "deleted":

...
{
columnName = "scp_deleted";
name = deleted;
prototypeName = intBoolean;
*userInfo = {default = 0; };*
width = 1;
}
...

On Wed, Apr 18, 2012 at 2:33 PM, Theodore Petrosky wrote:

> When I create an attribute in Entity Modeler, and create the migrations,
> it does a beautiful job.
>
> creativeBriefTable.newFlagBooleanColumn("isfiled", false);
>
> and I know I can add a default value here
>
> creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);
>
> problem is that if I go back and alter the schema and recreate the
> migration, I must remember to add in the default selector(s).
>
> I don't see in EM where I could put in a default value (or I am blind).
>
> Is there a place to put in a default value in Entity Modeler so the
> migrations it creates include the default value?
>
> Ted
>  ___
> 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/johnthuss%40gmail.com
>
> This email sent to johnth...@gmail.com
>
 ___
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


Entity Modeler, attributes default value for migrations

2012-04-18 Thread Theodore Petrosky
When I create an attribute in Entity Modeler, and create the migrations, it 
does a beautiful job.

creativeBriefTable.newFlagBooleanColumn("isfiled", false);

and I know I can add a default value here

creativeBriefTable.newFlagBooleanColumn("isfiled", false, false);

problem is that if I go back and alter the schema and recreate the migration, I 
must remember to add in the default selector(s).

I don't see in EM where I could put in a default value (or I am blind).

Is there a place to put in a default value in Entity Modeler so the migrations 
it creates include the default value?

Ted
 ___
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


Re: Prototypes don't load from ERPrototypes in Entity Modeler when building with maven

2011-11-14 Thread Faizel Dakri
Thanks Henrique, that seemed to do the trick.

F

-- 
Faizel Dakri






On 2011-Nov-14, at 10:27 AM, Henrique Prange wrote:

> Hi Faizel,
> 
> I've seen this problem on multi-module projects. I solved it removing the 
> parent project from the workspace (without removing the contents from the 
> file system).
> 
> Cheers,
> 
> Henrique
> 
> Sent from my iPhone
> 
> On 13/11/2011, at 00:54, Faizel Dakri  wrote:
> 
>> Have any maven users out there seen a problem with prototypes not showing up 
>> in Entity Modeler? I've got a project with an eomodel that has a dependency 
>> on ERPrototypes, but when I open the model in Entity Modeler, all of the 
>> prototypes seem to disappear. Searching through the archives revealed a 
>> similar issue a few years back, but it looked like it had been fixed with a 
>> WOLips update. 
>> 
>> I don't have any of the wonder frameworks open as projects in Eclipse, so 
>> they're all resolved from my local maven repository. When I examine 
>> ERPrototypes-5.4-SNAPSHOT.jar, I can see the erprototypes.eomodeld resource, 
>> along with the various db prototype entities. I can also run my app from 
>> Eclipse and it is able to find the prototypes just fine. It's just when I'm 
>> in Entity Modeler that I'm having issues.
>> 
>> I'm currently running Eclipse 3.7.1 with WOLips 3.7.10096.
>> 
>> Anyone else seen anything like this?
>> 
>> Thanks,
>> 
>> F
>> 
>> ___
>> 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:
>> http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
>> 
>> This email sent to hpra...@gmail.com
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/listfez%40dakri.com
> 
> This email sent to list...@dakri.com

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Prototypes don't load from ERPrototypes in Entity Modeler when building with maven

2011-11-14 Thread Henrique Prange
Hi Faizel,

I've seen this problem on multi-module projects. I solved it removing the 
parent project from the workspace (without removing the contents from the file 
system).

Cheers,

Henrique

Sent from my iPhone

On 13/11/2011, at 00:54, Faizel Dakri  wrote:

> Have any maven users out there seen a problem with prototypes not showing up 
> in Entity Modeler? I've got a project with an eomodel that has a dependency 
> on ERPrototypes, but when I open the model in Entity Modeler, all of the 
> prototypes seem to disappear. Searching through the archives revealed a 
> similar issue a few years back, but it looked like it had been fixed with a 
> WOLips update. 
> 
> I don't have any of the wonder frameworks open as projects in Eclipse, so 
> they're all resolved from my local maven repository. When I examine 
> ERPrototypes-5.4-SNAPSHOT.jar, I can see the erprototypes.eomodeld resource, 
> along with the various db prototype entities. I can also run my app from 
> Eclipse and it is able to find the prototypes just fine. It's just when I'm 
> in Entity Modeler that I'm having issues.
> 
> I'm currently running Eclipse 3.7.1 with WOLips 3.7.10096.
> 
> Anyone else seen anything like this?
> 
> Thanks,
> 
> F
> 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
> 
> This email sent to hpra...@gmail.com
 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Prototypes don't load from ERPrototypes in Entity Modeler when building with maven

2011-11-12 Thread Faizel Dakri
Have any maven users out there seen a problem with prototypes not showing up in 
Entity Modeler? I've got a project with an eomodel that has a dependency on 
ERPrototypes, but when I open the model in Entity Modeler, all of the 
prototypes seem to disappear. Searching through the archives revealed a similar 
issue a few years back, but it looked like it had been fixed with a WOLips 
update. 

I don't have any of the wonder frameworks open as projects in Eclipse, so 
they're all resolved from my local maven repository. When I examine 
ERPrototypes-5.4-SNAPSHOT.jar, I can see the erprototypes.eomodeld resource, 
along with the various db prototype entities. I can also run my app from 
Eclipse and it is able to find the prototypes just fine. It's just when I'm in 
Entity Modeler that I'm having issues.

I'm currently running Eclipse 3.7.1 with WOLips 3.7.10096.

Anyone else seen anything like this?

Thanks,

F

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Entity Modeler and java.io.Serialization

2011-08-11 Thread Chuck Hill

On 2011-08-11, at 8:42 AM, John Huss wrote:

> If you use the ERAttributeExtension framework or whatever it's called I think 
> could do it - this is what the joda time prototypes use.  It fixes the 
> features that were supposed to be in 5.4

ERAttributeExtension "just" makes it easier (or possible) to use the Factory 
Method: / Conversion Method: stuff in EOF:

The EOAttribute class allows you to model an attribute for a java object. In 
order to do this, the java class must implement a custom conversion method to 
write the value into the database and a value factory method to read the object 
back out. In some cases, you may want to use a java class as an attribute which 
does not implement a method appropriate for these operations. In some cases, 
the java class may even befinal making it impossible to model the class as a 
custom attribute.

The ERAttributeExtension framework is designed to solve this problem. It does 
so by reimplementing EOAttribute. The reimplemented EOAttribute fixes the 
broken implementation of WO 5.4.3's adaptorValueConversionClassName 
characteristic and adds a new valueFactoryClassName characteristic to 
EOAttribute. Therefore, any prototype attribute which uses one of these two 
attribute characteristics in ERPrototypes requires the inclusion of this 
framework to work properly.


> But I'm not sure why you would want to store it in a binary format; if you 
> just need to convert a stored string to an InetAddress there probably an 
> easier way, like modifying your EO templates.

+1

If you store it in a binary format, how you are going to query on it?  How will 
you access it from outside of EOF?


Chuck


> 
> On Aug 11, 2011, at 9:28 AM, Chuck Hill  wrote:
> 
>> Hi Riccardo,
>> 
>> On 2011-08-11, at 3:53 AM, Riccardo De Menna wrote:
>> 
>>> Hi there,
>>> 
>>> Is there a way to force the db adaptor to serialize and deserialize objects 
>>> using java.io.Serializable?
>>> To put it in other words, is there an easy way to serialize simple java 
>>> objects without the need to write customized code?
>> 
>> No.  :-)
>> 
>> Kieran has a related blog post: 
>> http://homepage.mac.com/kelleherk/iblog/C729512539/E2033071041/index.html
>> 
>> The summary is that EOF provides for non-Java serialization using these 
>> attribute properties set in Entity Modeler:
>> Class:
>> Factory Method::
>> Conversion Method:
>> Init Argument:
>> 
>> 
>>> For example, I was tweaking some of my prototypes and I just realized that 
>>> it would be very useful to have an inetAddress prototype for all ip/host 
>>> addresses. The class for it is java.net.InetAddress and it obviously 
>>> already implements Serializable. Can I leverage that in entity modeler to 
>>> save and restore those objects to blobs without having to write a 
>>> serialization utility?
>> 
>> You may get this to work by using getByName as the factory method and 
>> getHostName as the conversion method.  Otherwise you need to wrap classes 
>> like this to serialize and de-serialize using this method OR somehow change 
>> EOF to do other serialization (probably possible, probably not easy).
>> 
>> 
>>> Also, why is the "class" field always disabled in entity modeler when the 
>>> "value class" is visible?
>> 
>> Because that is only for the custom serialization as above.
>> 
>> 
>>> If there is no automatic way to deserializae using Serializable, then I was 
>>> thinking of writing a custom serialization class.
>> 
>> Patches welcome.  :-)
>> 
>> 
>>> I though I could use the "class" field to point to my deserialization 
>>> class, the "value class" field to tell the system what to expect as a final 
>>> output, and the "value type" field to help my class decide "how" to 
>>> deserialize. But the class field is always grayed out and disabled and I 
>>> can't find any documentation on how I would have to write my code.
>> 
>> Entity Modeler is setup to support what EOF expects which is not what you 
>> plan.  The com.webobjects.jdbcadaptor.JDBCPlugIn class is one place to start 
>> looking if you want to try modifying EOF.
>> 
>> 
>> Chuck
>> 
>> 
>> -- 
>> Chuck Hill Senior Consultant / VP Development
>> 
>> Practical WebObjects - for developers who want to increase their overall 
>> knowledge of WebObjects or who are trying to solve specific problems.
>> http://www.global-village.net/products/practical_webobjects
>&g

Re: Entity Modeler and java.io.Serialization

2011-08-11 Thread John Huss
If you use the ERAttributeExtension framework or whatever it's called I think 
could do it - this is what the joda time prototypes use.  It fixes the features 
that were supposed to be in 5.4

But I'm not sure why you would want to store it in a binary format; if you just 
need to convert a stored string to an InetAddress there probably an easier way, 
like modifying your EO templates.

On Aug 11, 2011, at 9:28 AM, Chuck Hill  wrote:

> Hi Riccardo,
> 
> On 2011-08-11, at 3:53 AM, Riccardo De Menna wrote:
> 
>> Hi there,
>> 
>> Is there a way to force the db adaptor to serialize and deserialize objects 
>> using java.io.Serializable?
>> To put it in other words, is there an easy way to serialize simple java 
>> objects without the need to write customized code?
> 
> No.  :-)
> 
> Kieran has a related blog post: 
> http://homepage.mac.com/kelleherk/iblog/C729512539/E2033071041/index.html
> 
> The summary is that EOF provides for non-Java serialization using these 
> attribute properties set in Entity Modeler:
> Class:
> Factory Method::
> Conversion Method:
> Init Argument:
> 
> 
>> For example, I was tweaking some of my prototypes and I just realized that 
>> it would be very useful to have an inetAddress prototype for all ip/host 
>> addresses. The class for it is java.net.InetAddress and it obviously already 
>> implements Serializable. Can I leverage that in entity modeler to save and 
>> restore those objects to blobs without having to write a serialization 
>> utility?
> 
> You may get this to work by using getByName as the factory method and 
> getHostName as the conversion method.  Otherwise you need to wrap classes 
> like this to serialize and de-serialize using this method OR somehow change 
> EOF to do other serialization (probably possible, probably not easy).
> 
> 
>> Also, why is the "class" field always disabled in entity modeler when the 
>> "value class" is visible?
> 
> Because that is only for the custom serialization as above.
> 
> 
>> If there is no automatic way to deserializae using Serializable, then I was 
>> thinking of writing a custom serialization class.
> 
> Patches welcome.  :-)
> 
> 
>> I though I could use the "class" field to point to my deserialization class, 
>> the "value class" field to tell the system what to expect as a final output, 
>> and the "value type" field to help my class decide "how" to deserialize. But 
>> the class field is always grayed out and disabled and I can't find any 
>> documentation on how I would have to write my code.
> 
> Entity Modeler is setup to support what EOF expects which is not what you 
> plan.  The com.webobjects.jdbcadaptor.JDBCPlugIn class is one place to start 
> looking if you want to try modifying EOF.
> 
> 
> Chuck
> 
> 
> -- 
> Chuck Hill Senior Consultant / VP Development
> 
> Practical WebObjects - for developers who want to increase their overall 
> knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/products/practical_webobjects
> 
> 
> 
> 
> 
> 
> 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
> 
> This email sent to johnth...@gmail.com
 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Entity Modeler and java.io.Serialization

2011-08-11 Thread Chuck Hill
Hi Riccardo,

On 2011-08-11, at 3:53 AM, Riccardo De Menna wrote:

> Hi there,
> 
> Is there a way to force the db adaptor to serialize and deserialize objects 
> using java.io.Serializable?
> To put it in other words, is there an easy way to serialize simple java 
> objects without the need to write customized code?

No.  :-)

Kieran has a related blog post: 
http://homepage.mac.com/kelleherk/iblog/C729512539/E2033071041/index.html

The summary is that EOF provides for non-Java serialization using these 
attribute properties set in Entity Modeler:
Class:
Factory Method::
Conversion Method:
Init Argument:


> For example, I was tweaking some of my prototypes and I just realized that it 
> would be very useful to have an inetAddress prototype for all ip/host 
> addresses. The class for it is java.net.InetAddress and it obviously already 
> implements Serializable. Can I leverage that in entity modeler to save and 
> restore those objects to blobs without having to write a serialization 
> utility?

You may get this to work by using getByName as the factory method and 
getHostName as the conversion method.  Otherwise you need to wrap classes like 
this to serialize and de-serialize using this method OR somehow change EOF to 
do other serialization (probably possible, probably not easy).


> Also, why is the "class" field always disabled in entity modeler when the 
> "value class" is visible?

Because that is only for the custom serialization as above.


> If there is no automatic way to deserializae using Serializable, then I was 
> thinking of writing a custom serialization class.

Patches welcome.  :-)


> I though I could use the "class" field to point to my deserialization class, 
> the "value class" field to tell the system what to expect as a final output, 
> and the "value type" field to help my class decide "how" to deserialize. But 
> the class field is always grayed out and disabled and I can't find any 
> documentation on how I would have to write my code.

Entity Modeler is setup to support what EOF expects which is not what you plan. 
 The com.webobjects.jdbcadaptor.JDBCPlugIn class is one place to start looking 
if you want to try modifying EOF.


Chuck


-- 
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Entity Modeler and java.io.Serialization

2011-08-11 Thread Riccardo De Menna
Hi there,

Is there a way to force the db adaptor to serialize and deserialize objects 
using java.io.Serializable?
To put it in other words, is there an easy way to serialize simple java objects 
without the need to write customized code?

For example, I was tweaking some of my prototypes and I just realized that it 
would be very useful to have an inetAddress prototype for all ip/host 
addresses. The class for it is java.net.InetAddress and it obviously already 
implements Serializable. Can I leverage that in entity modeler to save and 
restore those objects to blobs without having to write a serialization utility?

Also, why is the "class" field always disabled in entity modeler when the 
"value class" is visible? If there is no automatic way to deserializae using 
Serializable, then I was thinking of writing a custom serialization class.
I though I could use the "class" field to point to my deserialization class, 
the "value class" field to tell the system what to expect as a final output, 
and the "value type" field to help my class decide "how" to deserialize. But 
the class field is always grayed out and disabled and I can't find any 
documentation on how I would have to write my code.

Comments appreciated…

Riccardo ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


[workaround]: Re: SQL generation problem with Entity Modeler

2011-08-02 Thread Lars Sonchocky-Helldorf
I found a workaround for my problem: I created a new Eclipse workspace and 
imported only the framework which contains the EOModels. Then I can create the 
SQL without problems. This works without the other projects from which the 
framework projects depends because those are in a compiled form in my local .m2 
Maven repository. This is the case because I did a mvn install in the other 
workspace before.

cheers,

Lars


Am 01.08.2011 um 18:46 schrieb Lars Sonchocky-Helldorf:

> Hi,
> 
> I had this problem before. But I got no answer then: 
> http://permalink.gmane.org/gmane.comp.web.webobjects.woproject.devel/16073
> 
> The situation here is the same, the Maven project tree consist out of a 
> structure like this:
> 
> JvMAll
> |
> \-Applications
> | |
> | \-ApplicationA
> | |
> | \-ApplicationB
> | |
> | .
> | .
> | .
> |
> \-Frameworks
>  |
>  \-FrameworkA
>  |
>  \-FrameworkEO
>  |
>  \-FrameworkB
>  |
>  .
>  .
>  .
> 
> the EOModel in question resides inside the resources folder of one of the 
> Framework projects, let's say inside 'FrameworkEO'. Only JvMAll, the 
> 'Applications'-folder subdirectories and the 'Frameworks'-folder 
> subdirectories are actually Eclipse projects (not the 'Applications' and the 
> 'Frameworks' folder itself).
> 
> No I can open one of the several EOModels inside the 'FrameworkEO' projekt 
> and edit it without any problems. Only when I try to generate SQL from the 
> model I get:
> 
> 
> Failed to create EOF class loader. Launch configuration Entity Modeler SQL 
> Generation references non-existing project JvMAll.
> 
> org.objectstyle.wolips.eomodeler.core.model.EOModelException: Failed to 
> create EOF class loader.
>   at 
> org.objectstyle.wolips.eomodeler.core.model.AbstractEOClassLoader.createClassLoaderForModel(AbstractEOClassLoader.java:56)
>   at 
> org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory$Utility.createClassLoader(IEOClassLoaderFactory.java:40)
>   at 
> org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.getEOModelClassLoader(GenerateSQLDialog.java:257)
>   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:680)
> Caused by: org.eclipse.core.runtime.CoreException: Launch configuration 
> Entity Modeler SQL Generation references non-existing project JvMAll.
>   at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1354)
>   at 
> org.eclipse.jdt.launching.JavaRuntime.getJavaProject(JavaRuntime.java:1234)
>   at 
> org.eclipse.jdt.launching.StandardClasspathProvider.computeUnresolvedClasspath(StandardClasspathProvider.java:39)
>   at 
> org.objectstyle.wolips.launching.classpath.WORuntimeClasspathProvider.computeUnresolvedClasspath(WORuntimeClasspathProvider.java:83)
>   at 
> org.eclipse.jdt.internal.launching.RuntimeClasspathProvider.computeUnresolvedClasspath(RuntimeClasspathProvider.java:53)
>   at 
> org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1200)
>   at 
> org.objectstyle.wolips.launching.actions.WOJavaApplicationLaunchShortcut.createClasspathURLsForProject(WOJavaApplicationLaunchShortcut.java:133)
>   at 
> org.objectstyle.wolips.eomodeler.eclipse.EclipseEOClassLoaderFactory.fillInModelClasspath(EclipseEOClassLoaderFactory.java:68)
>   at 
> org.objectstyle.wolips.eomodeler.core.model.AbstractEOClassLoader.createClassLoaderForModel(AbstractEOClassLoader.java:29)
>   ... 5 more
> 
> Closing the JvMAll umbrella project (which I use only for building, 
> synchronizing and committing to the VCS (CVS this time actually :-( )) makes 
> the situation only worse. 
> 
> 
> Has somebody any clue what to do?
> 
> 
> thanks,
> 
>   Lars
> 
> p.s.: is the woproject-...@objectstyle.org list still active? 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/lars.sonchocky-helldorf%40hamburg.de
> 
> This email sent to lars.sonchocky-helld...@hamburg.de

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


SQL generation problem with Entity Modeler

2011-08-01 Thread Lars Sonchocky-Helldorf
Hi,

I had this problem before. But I got no answer then: 
http://permalink.gmane.org/gmane.comp.web.webobjects.woproject.devel/16073

The situation here is the same, the Maven project tree consist out of a 
structure like this:

JvMAll
|
\-Applications
| |
| \-ApplicationA
| |
| \-ApplicationB
| |
| .
| .
| .
|
\-Frameworks
  |
  \-FrameworkA
  |
  \-FrameworkEO
  |
  \-FrameworkB
  |
  .
  .
  .

the EOModel in question resides inside the resources folder of one of the 
Framework projects, let's say inside 'FrameworkEO'. Only JvMAll, the 
'Applications'-folder subdirectories and the 'Frameworks'-folder subdirectories 
are actually Eclipse projects (not the 'Applications' and the 'Frameworks' 
folder itself).

No I can open one of the several EOModels inside the 'FrameworkEO' projekt and 
edit it without any problems. Only when I try to generate SQL from the model I 
get:


Failed to create EOF class loader. Launch configuration Entity Modeler SQL 
Generation references non-existing project JvMAll.

org.objectstyle.wolips.eomodeler.core.model.EOModelException: Failed to create 
EOF class loader.
at 
org.objectstyle.wolips.eomodeler.core.model.AbstractEOClassLoader.createClassLoaderForModel(AbstractEOClassLoader.java:56)
at 
org.objectstyle.wolips.eomodeler.core.model.IEOClassLoaderFactory$Utility.createClassLoader(IEOClassLoaderFactory.java:40)
at 
org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.getEOModelClassLoader(GenerateSQLDialog.java:257)
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:680)
Caused by: org.eclipse.core.runtime.CoreException: Launch configuration Entity 
Modeler SQL Generation references non-existing project JvMAll.
at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1354)
at 
org.eclipse.jdt.launching.JavaRuntime.getJavaProject(JavaRuntime.java:1234)
at 
org.eclipse.jdt.launching.StandardClasspathProvider.computeUnresolvedClasspath(StandardClasspathProvider.java:39)
at 
org.objectstyle.wolips.launching.classpath.WORuntimeClasspathProvider.computeUnresolvedClasspath(WORuntimeClasspathProvider.java:83)
at 
org.eclipse.jdt.internal.launching.RuntimeClasspathProvider.computeUnresolvedClasspath(RuntimeClasspathProvider.java:53)
at 
org.eclipse.jdt.launching.JavaRuntime.computeUnresolvedRuntimeClasspath(JavaRuntime.java:1200)
at 
org.objectstyle.wolips.launching.actions.WOJavaApplicationLaunchShortcut.createClasspathURLsForProject(WOJavaApplicationLaunchShortcut.java:133)
at 
org.objectstyle.wolips.eomodeler.eclipse.EclipseEOClassLoaderFactory.fillInModelClasspath(EclipseEOClassLoaderFactory.java:68)
at 
org.objectstyle.wolips.eomodeler.core.model.AbstractEOClassLoader.createClassLoaderForModel(AbstractEOClassLoader.java:29)
... 5 more

Closing the JvMAll umbrella project (which I use only for building, 
synchronizing and committing to the VCS (CVS this time actually :-( )) makes 
the situation only worse. 


Has somebody any clue what to do?


thanks,

Lars

p.s.: is the woproject-...@objectstyle.org list still active? 
___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: entity modeler settings?

2010-10-30 Thread Chuck Hill
Those are the droids that I am looking for, just not the droids I am going to 
find.  :-P


On Oct 30, 2010, at 7:23 AM, Ken Anderson wrote:

> These aren't the droids you're looking for ...
> 
> On Oct 30, 2010, at 5:27 AM, Mike Schrag wrote:
> 
>> those aren't features of your version of webobjects.. you can ignore them.
>> 
>> On Oct 30, 2010, at 12:59 AM, Theodore Petrosky wrote:
>> 
>>> I see in Entity Modeler Database config has two setting I don't understand.
>>> 
>>> Deployment Profile and Priority.
>>> 
>>> What are these for?
>>> 
>>> Ted
>>> 
>>> 
>>> 
>>> ___
>>> 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:
>>> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
>>> 
>>> This email sent to msch...@pobox.com
>> 
>> ___
>> 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:
>> http://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
>> 
>> This email sent to kenli...@anderhome.com
> 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: entity modeler settings?

2010-10-30 Thread Ken Anderson
These aren't the droids you're looking for ...

On Oct 30, 2010, at 5:27 AM, Mike Schrag wrote:

> those aren't features of your version of webobjects.. you can ignore them.
> 
> On Oct 30, 2010, at 12:59 AM, Theodore Petrosky wrote:
> 
>> I see in Entity Modeler Database config has two setting I don't understand.
>> 
>> Deployment Profile and Priority.
>> 
>> What are these for?
>> 
>> Ted
>> 
>> 
>> 
>> ___
>> 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:
>> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
>> 
>> This email sent to msch...@pobox.com
> 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
> 
> This email sent to kenli...@anderhome.com

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: entity modeler settings?

2010-10-30 Thread Mike Schrag
> someone's version has a need for these.
> someone has this version (but not me).
Yes

> Is there a reason why I would like the afore mentioned version more
Yes

> As this is a 'Secret' version (I feel the orchestra building), can I play too?
No

> What other features that I wouldn't like or need are there?
No comment :)
> 
 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: entity modeler settings?

2010-10-30 Thread Theodore Petrosky
So, 

someone's version has a need for these.
someone has this version (but not me).

Is there a reason why I would like the afore mentioned version more (or less) 
than the version that is generally downloaded with the current Entity Modeler?

As this is a 'Secret' version (I feel the orchestra building), can I play too? 
and 

What other features that I wouldn't like or need are there?

I hope my curiosity doesn't bring on an investigation from Homeland Security.

Ted



--- On Sat, 10/30/10, Marc Guenther  wrote:

> From: Marc Guenther 
> Subject: Re: entity modeler settings?
> To: "Mike Schrag" 
> Cc: "Theodore Petrosky" , "webobjects-dev@lists.apple.com" 
> 
> Date: Saturday, October 30, 2010, 6:43 AM
> It has begun...
> 
> --  
> Sent from my iPhone
> 
> On 30.10.2010, at 11:27, Mike Schrag 
> wrote:
> 
> > those aren't features of your version of webobjects..
> you can ignore  
> > them.
> >
> > On Oct 30, 2010, at 12:59 AM, Theodore Petrosky
> wrote:
> >
> >> I see in Entity Modeler Database config has two
> setting I don't  
> >> understand.
> >>
> >> Deployment Profile and Priority.
> >>
> >> What are these for?
> >>
> >> Ted
> >>
> >>
> >>
> >> ___
> >> 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:
> >> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
> >>
> >> This email sent to msch...@pobox.com
> >
> > ___
> > 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:
> > http://lists.apple.com/mailman/options/webobjects-dev/yoda%40schli.ch
> >
> > This email sent to y...@schli.ch
> 



 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: entity modeler settings?

2010-10-30 Thread Marc Guenther

It has begun...

--  
Sent from my iPhone


On 30.10.2010, at 11:27, Mike Schrag  wrote:

those aren't features of your version of webobjects.. you can ignore  
them.


On Oct 30, 2010, at 12:59 AM, Theodore Petrosky wrote:

I see in Entity Modeler Database config has two setting I don't  
understand.


Deployment Profile and Priority.

What are these for?

Ted



___
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:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com

This email sent to msch...@pobox.com


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/yoda%40schli.ch

This email sent to y...@schli.ch

___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: entity modeler settings?

2010-10-30 Thread Mike Schrag
those aren't features of your version of webobjects.. you can ignore them.

On Oct 30, 2010, at 12:59 AM, Theodore Petrosky wrote:

> I see in Entity Modeler Database config has two setting I don't understand.
> 
> Deployment Profile and Priority.
> 
> What are these for?
> 
> Ted
> 
> 
> 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
> 
> This email sent to msch...@pobox.com

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


entity modeler settings?

2010-10-29 Thread Theodore Petrosky
I see in Entity Modeler Database config has two setting I don't understand.

Deployment Profile and Priority.

What are these for?

Ted


  
 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: UNIQUE constraint on Entity Modeler

2010-09-29 Thread Mike Schrag
>>> http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/eoaccess/EOEntityIndex.html
>>> 
>>> EOEntityIndex is new in 5.4.x and would require plugin support for it to 
>>> work.  I assume that is at least one of the reasons why it does not work 
>>> with Wonder's Postgres plugin.  When I asked on list about this earlier, 
>>> Chuck Hill said
>>> 
>>> "Uh, if it was a beef roast, it would still be mooing.  Nothing to do with 
>>> Wonder.  Consider it an API design sketch.  It is a very good idea, just 
>>> not ready for use."
>> 
>> I don't think anything has changed since then.  IIRC (and it has been a 
>> while now), from "peeking" it appeared that even part inside of WO was 
>> incomplete.  It would be a good thing to fix in Wonder.
> 
> Sounds impossible.  I don't think anyone could pull that off.  Not even Mike 
> (^_~)
this is in the category of things i'm less likely to fix in wonder ... doing 
things twice in different ways is generally unfun.

ms ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: UNIQUE constraint on Entity Modeler

2010-09-29 Thread Ramsey Gurley


On Sep 29, 2010, at 11:41 AM, Chuck Hill wrote:



On Sep 29, 2010, at 7:00 AM, Ramsey Gurley wrote:


http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/eoaccess/EOEntityIndex.html

EOEntityIndex is new in 5.4.x and would require plugin support for  
it to work.  I assume that is at least one of the reasons why it  
does not work with Wonder's Postgres plugin.  When I asked on list  
about this earlier, Chuck Hill said


"Uh, if it was a beef roast, it would still be mooing.  Nothing to  
do with Wonder.  Consider it an API design sketch.  It is a very  
good idea, just not ready for use."


I don't think anything has changed since then.  IIRC (and it has  
been a while now), from "peeking" it appeared that even part inside  
of WO was incomplete.  It would be a good thing to fix in Wonder.



Chuck


Sounds impossible.  I don't think anyone could pull that off.  Not  
even Mike (^_~)


Ramsey





On Sep 29, 2010, at 9:48 AM, Miguel Arroz wrote:


Hi!

Thanks! Doesn't seem to work on PostgreSQL. :(

Regards,

Miguel Arroz

On 2010/09/29, at 14:43, Kieran Kelleher wrote:




Constraint setting on the index can then be set to  
'Distinct' (which I assume is unique in database speak). Not sure  
if this works for all database platforms though.


On Sep 29, 2010, at 9:35 AM, Miguel Arroz wrote:


Hi!

I had the idea I saw, in some W(O)W(O)DC, someone talking about  
having a "unique" checkbox on Entity Modeler for a property.  
That would make the generated SQL have the UNIQUE constraint to  
the DB.


Did I dream about this, or is it real? I can not find it anywhere.

Regards,

Miguel Arroz ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com

This email sent to kelleh...@gmail.com


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com

This email sent to ar...@guiamac.com



___
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:
http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com

This email sent to ram...@xeotech.com



___
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:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net


--
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects









___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: UNIQUE constraint on Entity Modeler

2010-09-29 Thread Chuck Hill

On Sep 29, 2010, at 7:00 AM, Ramsey Gurley wrote:

> http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/eoaccess/EOEntityIndex.html
> 
> EOEntityIndex is new in 5.4.x and would require plugin support for it to 
> work.  I assume that is at least one of the reasons why it does not work with 
> Wonder's Postgres plugin.  When I asked on list about this earlier, Chuck 
> Hill said
> 
> "Uh, if it was a beef roast, it would still be mooing.  Nothing to do with 
> Wonder.  Consider it an API design sketch.  It is a very good idea, just not 
> ready for use."

I don't think anything has changed since then.  IIRC (and it has been a while 
now), from "peeking" it appeared that even part inside of WO was incomplete.  
It would be a good thing to fix in Wonder.


Chuck


> On Sep 29, 2010, at 9:48 AM, Miguel Arroz wrote:
> 
>> Hi!
>> 
>> Thanks! Doesn't seem to work on PostgreSQL. :(
>> 
>> Regards,
>> 
>> Miguel Arroz
>> 
>> On 2010/09/29, at 14:43, Kieran Kelleher wrote:
>> 
>>> 
>>> 
>>> Constraint setting on the index can then be set to 'Distinct' (which I 
>>> assume is unique in database speak). Not sure if this works for all 
>>> database platforms though.
>>> 
>>> On Sep 29, 2010, at 9:35 AM, Miguel Arroz wrote:
>>> 
>>>> Hi!
>>>> 
>>>> I had the idea I saw, in some W(O)W(O)DC, someone talking about having a 
>>>> "unique" checkbox on Entity Modeler for a property. That would make the 
>>>> generated SQL have the UNIQUE constraint to the DB.
>>>> 
>>>> Did I dream about this, or is it real? I can not find it anywhere.
>>>> 
>>>> Regards,
>>>> 
>>>> Miguel Arroz ___
>>>> 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:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>>>> 
>>>> This email sent to kelleh...@gmail.com
>>> 
>>> ___
>>> 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:
>>> http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com
>>> 
>>> This email sent to ar...@guiamac.com
>> 
>> 
>> ___
>> 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:
>> http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com
>> 
>> This email sent to ram...@xeotech.com
>> 
> 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: UNIQUE constraint on Entity Modeler

2010-09-29 Thread Mike Schrag
i don't think FB does it either ... if entity modeler just called the 5.4 
generation method, it would magically appear, probably.

ms

On Sep 29, 2010, at 10:03 AM, Kieran Kelleher wrote:

> I am guessing is needs to be implemented in the appropriate db platform 
> plugin or SQLHelper class in Wonder. it is probably implemented in FB 
> since that probably would have been what Mike S was using when he added that 
> feature.
> 
> On Sep 29, 2010, at 9:48 AM, Miguel Arroz wrote:
> 
>> Hi!
>> 
>> Thanks! Doesn't seem to work on PostgreSQL. :(
>> 
>> Regards,
>> 
>> Miguel Arroz
>> 
>> On 2010/09/29, at 14:43, Kieran Kelleher wrote:
>> 
>>> 
>>> 
>>> Constraint setting on the index can then be set to 'Distinct' (which I 
>>> assume is unique in database speak). Not sure if this works for all 
>>> database platforms though.
>>> 
>>> On Sep 29, 2010, at 9:35 AM, Miguel Arroz wrote:
>>> 
>>>> Hi!
>>>> 
>>>> I had the idea I saw, in some W(O)W(O)DC, someone talking about having a 
>>>> "unique" checkbox on Entity Modeler for a property. That would make the 
>>>> generated SQL have the UNIQUE constraint to the DB.
>>>> 
>>>> Did I dream about this, or is it real? I can not find it anywhere.
>>>> 
>>>> Regards,
>>>> 
>>>> Miguel Arroz ___
>>>> 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:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>>>> 
>>>> This email sent to kelleh...@gmail.com
>>> 
>>> ___
>>> 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:
>>> http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com
>>> 
>>> This email sent to ar...@guiamac.com
>> 
>> 
> 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
> 
> This email sent to msch...@pobox.com

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: UNIQUE constraint on Entity Modeler

2010-09-29 Thread Mike Schrag
the bigger issue is that the 5.3 and 5.4 schema generation API's aren't 
compatible, so if you use the 5.3 API's, you hit these weird API paths that 
bypass certain features. it's kind of a mess. currently migrations and entity 
modeler both use the 5.3 API's. now that we have a 5.4 branch, we can actually 
call through the 5.4 API's and these features can be turned on.

On Sep 29, 2010, at 10:00 AM, Ramsey Gurley wrote:

> http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/eoaccess/EOEntityIndex.html
> 
> EOEntityIndex is new in 5.4.x and would require plugin support for it to 
> work.  I assume that is at least one of the reasons why it does not work with 
> Wonder's Postgres plugin.  When I asked on list about this earlier, Chuck 
> Hill said
> 
> "Uh, if it was a beef roast, it would still be mooing.  Nothing to do with 
> Wonder.  Consider it an API design sketch.  It is a very good idea, just not 
> ready for use."
> 
> (^_^)
> 
> Ramsey
> 
> On Sep 29, 2010, at 9:48 AM, Miguel Arroz wrote:
> 
>> Hi!
>> 
>> Thanks! Doesn't seem to work on PostgreSQL. :(
>> 
>> Regards,
>> 
>> Miguel Arroz
>> 
>> On 2010/09/29, at 14:43, Kieran Kelleher wrote:
>> 
>>> 
>>> 
>>> Constraint setting on the index can then be set to 'Distinct' (which I 
>>> assume is unique in database speak). Not sure if this works for all 
>>> database platforms though.
>>> 
>>> On Sep 29, 2010, at 9:35 AM, Miguel Arroz wrote:
>>> 
>>>> Hi!
>>>> 
>>>> I had the idea I saw, in some W(O)W(O)DC, someone talking about having a 
>>>> "unique" checkbox on Entity Modeler for a property. That would make the 
>>>> generated SQL have the UNIQUE constraint to the DB.
>>>> 
>>>> Did I dream about this, or is it real? I can not find it anywhere.
>>>> 
>>>> Regards,
>>>> 
>>>> Miguel Arroz ___
>>>> 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:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>>>> 
>>>> This email sent to kelleh...@gmail.com
>>> 
>>> ___
>>> 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:
>>> http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com
>>> 
>>> This email sent to ar...@guiamac.com
>> 
>> 
>> ___
>> 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:
>> http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com
>> 
>> This email sent to ram...@xeotech.com
>> 
> 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
> 
> This email sent to msch...@pobox.com

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: UNIQUE constraint on Entity Modeler

2010-09-29 Thread Kieran Kelleher
OK, well in that case, the new WO54 wonder branch is an opportunity for someone 
with time on their hands to implement it ;-)

-Kieran

On Sep 29, 2010, at 10:00 AM, Ramsey Gurley wrote:

> http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/eoaccess/EOEntityIndex.html
> 
> EOEntityIndex is new in 5.4.x and would require plugin support for it to 
> work.  I assume that is at least one of the reasons why it does not work with 
> Wonder's Postgres plugin.  When I asked on list about this earlier, Chuck 
> Hill said
> 
> "Uh, if it was a beef roast, it would still be mooing.  Nothing to do with 
> Wonder.  Consider it an API design sketch.  It is a very good idea, just not 
> ready for use."
> 
> (^_^)
> 
> Ramsey
> 
> On Sep 29, 2010, at 9:48 AM, Miguel Arroz wrote:
> 
>> Hi!
>> 
>> Thanks! Doesn't seem to work on PostgreSQL. :(
>> 
>> Regards,
>> 
>> Miguel Arroz
>> 
>> On 2010/09/29, at 14:43, Kieran Kelleher wrote:
>> 
>>> 
>>> 
>>> Constraint setting on the index can then be set to 'Distinct' (which I 
>>> assume is unique in database speak). Not sure if this works for all 
>>> database platforms though.
>>> 
>>> On Sep 29, 2010, at 9:35 AM, Miguel Arroz wrote:
>>> 
>>>> Hi!
>>>> 
>>>> I had the idea I saw, in some W(O)W(O)DC, someone talking about having a 
>>>> "unique" checkbox on Entity Modeler for a property. That would make the 
>>>> generated SQL have the UNIQUE constraint to the DB.
>>>> 
>>>> Did I dream about this, or is it real? I can not find it anywhere.
>>>> 
>>>> Regards,
>>>> 
>>>> Miguel Arroz ___
>>>> 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:
>>>> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>>>> 
>>>> This email sent to kelleh...@gmail.com
>>> 
>>> ___
>>> 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:
>>> http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com
>>> 
>>> This email sent to ar...@guiamac.com
>> 
>> 
>> ___
>> 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:
>> http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com
>> 
>> This email sent to ram...@xeotech.com
>> 
> 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
> 
> This email sent to kelleh...@gmail.com

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: UNIQUE constraint on Entity Modeler

2010-09-29 Thread Kieran Kelleher
I am guessing is needs to be implemented in the appropriate db platform plugin 
or SQLHelper class in Wonder. it is probably implemented in FB since that 
probably would have been what Mike S was using when he added that feature.

On Sep 29, 2010, at 9:48 AM, Miguel Arroz wrote:

> Hi!
> 
>  Thanks! Doesn't seem to work on PostgreSQL. :(
> 
>  Regards,
> 
> Miguel Arroz
> 
> On 2010/09/29, at 14:43, Kieran Kelleher wrote:
> 
>> 
>> 
>> Constraint setting on the index can then be set to 'Distinct' (which I 
>> assume is unique in database speak). Not sure if this works for all database 
>> platforms though.
>> 
>> On Sep 29, 2010, at 9:35 AM, Miguel Arroz wrote:
>> 
>>> Hi!
>>> 
>>> I had the idea I saw, in some W(O)W(O)DC, someone talking about having a 
>>> "unique" checkbox on Entity Modeler for a property. That would make the 
>>> generated SQL have the UNIQUE constraint to the DB.
>>> 
>>> Did I dream about this, or is it real? I can not find it anywhere.
>>> 
>>> Regards,
>>> 
>>> Miguel Arroz ___
>>> 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:
>>> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>>> 
>>> This email sent to kelleh...@gmail.com
>> 
>> ___
>> 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:
>> http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com
>> 
>> This email sent to ar...@guiamac.com
> 
> 

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: UNIQUE constraint on Entity Modeler

2010-09-29 Thread Ramsey Gurley

http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/com/webobjects/eoaccess/EOEntityIndex.html

EOEntityIndex is new in 5.4.x and would require plugin support for it  
to work.  I assume that is at least one of the reasons why it does not  
work with Wonder's Postgres plugin.  When I asked on list about this  
earlier, Chuck Hill said


"Uh, if it was a beef roast, it would still be mooing.  Nothing to do  
with Wonder.  Consider it an API design sketch.  It is a very good  
idea, just not ready for use."


(^_^)

Ramsey

On Sep 29, 2010, at 9:48 AM, Miguel Arroz wrote:


Hi!

 Thanks! Doesn't seem to work on PostgreSQL. :(

 Regards,

Miguel Arroz

On 2010/09/29, at 14:43, Kieran Kelleher wrote:




Constraint setting on the index can then be set to  
'Distinct' (which I assume is unique in database speak). Not sure  
if this works for all database platforms though.


On Sep 29, 2010, at 9:35 AM, Miguel Arroz wrote:


Hi!

I had the idea I saw, in some W(O)W(O)DC, someone talking about  
having a "unique" checkbox on Entity Modeler for a property. That  
would make the generated SQL have the UNIQUE constraint to the DB.


Did I dream about this, or is it real? I can not find it anywhere.

Regards,

Miguel Arroz ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com

This email sent to kelleh...@gmail.com


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com

This email sent to ar...@guiamac.com



___
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:
http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com

This email sent to ram...@xeotech.com



___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: UNIQUE constraint on Entity Modeler

2010-09-29 Thread Miguel Arroz
Hi!

  Thanks! Doesn't seem to work on PostgreSQL. :(

  Regards,

Miguel Arroz

On 2010/09/29, at 14:43, Kieran Kelleher wrote:

> 
> 
> Constraint setting on the index can then be set to 'Distinct' (which I assume 
> is unique in database speak). Not sure if this works for all database 
> platforms though.
> 
> On Sep 29, 2010, at 9:35 AM, Miguel Arroz wrote:
> 
>> Hi!
>> 
>> I had the idea I saw, in some W(O)W(O)DC, someone talking about having a 
>> "unique" checkbox on Entity Modeler for a property. That would make the 
>> generated SQL have the UNIQUE constraint to the DB.
>> 
>> Did I dream about this, or is it real? I can not find it anywhere.
>> 
>> Regards,
>> 
>> Miguel Arroz ___
>> 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:
>> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>> 
>> This email sent to kelleh...@gmail.com
> 
> ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com
> 
> This email sent to ar...@guiamac.com


 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: UNIQUE constraint on Entity Modeler

2010-09-29 Thread Kieran Kelleher
<>

Constraint setting on the index can then be set to 'Distinct' (which I assume 
is unique in database speak). Not sure if this works for all database platforms 
though.

On Sep 29, 2010, at 9:35 AM, Miguel Arroz wrote:

> Hi!
> 
>  I had the idea I saw, in some W(O)W(O)DC, someone talking about having a 
> "unique" checkbox on Entity Modeler for a property. That would make the 
> generated SQL have the UNIQUE constraint to the DB.
> 
>  Did I dream about this, or is it real? I can not find it anywhere.
> 
>  Regards,
> 
> Miguel Arroz ___
> 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:
> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
> 
> This email sent to kelleh...@gmail.com

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

UNIQUE constraint on Entity Modeler

2010-09-29 Thread Miguel Arroz
Hi!

  I had the idea I saw, in some W(O)W(O)DC, someone talking about having a 
"unique" checkbox on Entity Modeler for a property. That would make the 
generated SQL have the UNIQUE constraint to the DB.

  Did I dream about this, or is it real? I can not find it anywhere.

  Regards,

Miguel Arroz ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Entity Modeler: _deletedEntityNamesInObjectStore in index.eomodeld

2010-05-04 Thread Paul Hoadley
On 05/05/2010, at 2:28 AM, Chuck Hill wrote:

> On May 4, 2010, at 3:50 AM, Paul Hoadley wrote:
> 
>> Hello,
>> 
>> I added an attribute to the "Fund" entity in an EO model.  I'm about to 
>> commit the changes, and I see this in the diff for index.eomodeld:
>> 
>>internalInfo = {"_deletedEntityNamesInObjectStore" = (Fund); };
>> 
>> I see an old post archived here:
>> 
>> http://article.gmane.org/gmane.comp.web.webobjects.devel/16321
>> 
>> where Chuck says "[_deletedEntityNamesInObjectStore] is just internal 
>> housekeeping information for EOModeler", which is reassuring, but can anyone 
>> expand on that?  Can I delete that line?
> 
> Yes, you can delete it.

Thanks Chuck.


-- 
Paul.

http://logicsquad.net/


 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Entity Modeler: _deletedEntityNamesInObjectStore in index.eomodeld

2010-05-04 Thread Chuck Hill


On May 4, 2010, at 3:50 AM, Paul Hoadley wrote:


Hello,

I added an attribute to the "Fund" entity in an EO model.  I'm about  
to commit the changes, and I see this in the diff for index.eomodeld:


internalInfo = {"_deletedEntityNamesInObjectStore" = (Fund); };

I see an old post archived here:

http://article.gmane.org/gmane.comp.web.webobjects.devel/16321

where Chuck says "[_deletedEntityNamesInObjectStore] is just  
internal housekeeping information for EOModeler", which is  
reassuring, but can anyone expand on that?  Can I delete that line?





Yes, you can delete it.


Chuck


--
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects







___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Entity Modeler: _deletedEntityNamesInObjectStore in index.eomodeld

2010-05-04 Thread Paul Hoadley
Hello,

I added an attribute to the "Fund" entity in an EO model.  I'm about to commit 
the changes, and I see this in the diff for index.eomodeld:

internalInfo = {"_deletedEntityNamesInObjectStore" = (Fund); }; 

I see an old post archived here:

http://article.gmane.org/gmane.comp.web.webobjects.devel/16321

where Chuck says "[_deletedEntityNamesInObjectStore] is just internal 
housekeeping information for EOModeler", which is reassuring, but can anyone 
expand on that?  Can I delete that line?


-- 
Paul.

http://logicsquad.net/


 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Entity Modeler Generating SQL Error

2009-12-18 Thread Calven Eggert
Hi, All

I'm getting an error while trying to generate SQL for my model: 

java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
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.(EOModel.java:841)
at 
com.webobjects.eoaccess.EOModelGroup.addModelWithPathURL(EOModelGroup.java:443)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator.(EOFSQLGenerator.java:121)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at 
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory.sqlGenerator(EOFSQLGeneratorFactory.java:36)
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:613)


I see that this was an error a year ago.  
(http://www.mail-archive.com/webobjects-dev@lists.apple.com/msg24887.html)

was this resolved?  If yes, in what version? (I'm using WOLips 3.4.5830, which 
is the latest stable version)

Calven

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: EOPrototype in Entity Modeler question

2009-10-29 Thread Ricardo J. Parada


On Oct 29, 2009, at 5:39 PM, Mike Schrag wrote:

oh wait ... you're going from no prototype to a prototype.  yeah i'm  
not sure it will remove those -- as far as it knows you have an  
override of those values. this has been a debate i've had with  
myself for a while (and i think with the list a couple years ago,  
too), whether if you set a prototype, should it automatically  
replace every prototyped value in the attribute. the reason i have  
avoided this is that i tend to not implement features that LOSE  
information. however, it's debatable in this case what your intent  
actually IS -- if you set a prototype, PROBABLY you mean you want  
all the settings of the prototype applied. This gets a lot hazier,  
though, if you're talking about the width of a string -- if you  
change from one string prototype to another, did you intend to blow  
away the width?  maybe only on the ones that explicitly set a width,  
i guess?


That makes total sense.  :-)

In my original email I was looking for a way to clear all the values  
so that there are no overrides and then set the prototype.  So that's  
really a feature request.  But I'm handling it manually right  
now.  :-)   I can live with that.  I use subclipse's Team Synchronize  
view to see these things and clean them up.


anyway, i'm not SURE that's what you're seeing but I suspect it is.   
is valueClassName being removed at least?  i don't test much going  
from no prototype to a prototype, so i'm sure there are weird edge  
cases of this.




Yes, valueClassName is being removed!

By the way, how does the Data Type chosen for an attribute affect me?   
For example, I see different options related to dates / times: i.e.  
Date, Date (MSSQL), Time, Timestamp.  For new attributes I just leave  
that with the default once I pick the prototype (either date or  
dateTime).  But for existing attributes where I have the Data Type  
already selected and then choose a prototype I'm not sure how changing  
Data Type would affect me.


For example, if my existing attribute named "creationDateTime" had a  
Data Type of Timestamp selected and no prototype. And then I set the  
prototype to dateTime and change the Data Type to Date.  Will that  
affect me somehow?  :-)




Thanks,
Ricardo

___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: EOPrototype in Entity Modeler question

2009-10-29 Thread Mike Schrag
strange ... i'll have to look into that. i run it on snow leopard  
without any problems.


if you're not using eclipse 3.5, then you can just manually remove  
those valueClassnames. or grab a 3.5 install just to open up EM once  
in it and it will fix those.


On Oct 29, 2009, at 9:05 AM, Ricardo J. Parada wrote:



On Oct 28, 2009, at 5:35 PM, Mike Schrag wrote:

you might be hitting a bug in EM (that has since been fixed) ...  
maybe, at least.  if you look in your entity plist file, does the  
attribute have the valueClass declared, or just the prototype?  if  
it has the valueClass, then you're hit by this bug -- there was a  
release some time ago of EM that accidentally copied the  
prototype's valueClass into the attributes, so there was some risk  
that if you changed the prototype, you'd get an override in your  
attribute. newer em's detect and fix this.  you could grab the  
latest Entity Modeler.app build if you're not on 3.5 and try that  
to see if it fixes the problem (if in fact that's the problem you  
have).


Yes the attributes have valueClassName declared.

I downloaded the latest Entity Modeler.app and ran it (on Snow  
Leopard) but I get the error below... Any ideas?  :-)


sunrise:~ ricardo$ cat Library/Application\ Support/Entity\ Modeler/ 
configuration/1256820899890.log
!SESSION 2009-10-29 08:54:57.324  
---

eclipse.buildId=unknown
java.version=1.6.0_15
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments:  -keyring ~/.eclipse_keyring -showlocation - 
keyring /Users/ricardo/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86 -keyring  
~/.eclipse_keyring -consoleLog -showlocation -keyring /Users/ 
ricardo/.eclipse_keyring -showlocation


!ENTRY org.eclipse.osgi 4 0 2009-10-29 08:55:04.046
!MESSAGE An error occurred while automatically activating bundle  
org.eclipse.ui.workbench (51).

!STACK 0
org.osgi.framework.BundleException: The activator  
org.eclipse.ui.internal.WorkbenchPlugin for bundle  
org.eclipse.ui.workbench is invalid
	at  
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator 
(AbstractBundle.java:157)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start 
(BundleContextImpl.java:751)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker 
(BundleHost.java:352)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start 
(AbstractBundle.java:280)
	at org.eclipse.osgi.framework.util.SecureAction.start 
(SecureAction.java:408)
	at  
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass 
(EclipseLazyStarter.java:111)
	at  
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass 
(ClasspathManager.java:449)
	at  
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass 
(DefaultClassLoader.java:211)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass 
(BundleLoader.java:381)
	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass 
(SingleSourcePackage.java:33)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal 
(BundleLoader.java:454)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass 
(BundleLoader.java:410)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass 
(BundleLoader.java:398)
	at  
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass 
(DefaultClassLoader.java:105)

at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:700)
	at  
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass 
(DefaultClassLoader.java:183)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass 
(ClasspathManager.java:576)
	at  
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl 
(ClasspathManager.java:546)
	at  
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl 
(ClasspathManager.java:477)
	at  
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader 
(ClasspathManager.java:465)
	at  
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass 
(ClasspathManager.java:445)
	at  
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass 
(DefaultClassLoader.java:211)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass 
(BundleLoader.java:381)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal 
(BundleLoader.java:457)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass 
(BundleLoader.java:410)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass 
(BundleLoader.java:398)
	at  
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass 
(DefaultClassLoader.java:105)

  

Re: EOPrototype in Entity Modeler question

2009-10-29 Thread Ricardo J. Parada


On Oct 28, 2009, at 5:35 PM, Mike Schrag wrote:

you might be hitting a bug in EM (that has since been fixed) ...  
maybe, at least.  if you look in your entity plist file, does the  
attribute have the valueClass declared, or just the prototype?  if  
it has the valueClass, then you're hit by this bug -- there was a  
release some time ago of EM that accidentally copied the prototype's  
valueClass into the attributes, so there was some risk that if you  
changed the prototype, you'd get an override in your attribute.  
newer em's detect and fix this.  you could grab the latest Entity  
Modeler.app build if you're not on 3.5 and try that to see if it  
fixes the problem (if in fact that's the problem you have).


Yes the attributes have valueClassName declared.

I downloaded the latest Entity Modeler.app and ran it (on Snow  
Leopard) but I get the error below... Any ideas?  :-)


sunrise:~ ricardo$ cat Library/Application\ Support/Entity\ Modeler/ 
configuration/1256820899890.log
!SESSION 2009-10-29 08:54:57.324  
---

eclipse.buildId=unknown
java.version=1.6.0_15
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments:  -keyring ~/.eclipse_keyring -showlocation - 
keyring /Users/ricardo/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86 -keyring  
~/.eclipse_keyring -consoleLog -showlocation -keyring /Users/ 
ricardo/.eclipse_keyring -showlocation


!ENTRY org.eclipse.osgi 4 0 2009-10-29 08:55:04.046
!MESSAGE An error occurred while automatically activating bundle  
org.eclipse.ui.workbench (51).

!STACK 0
org.osgi.framework.BundleException: The activator  
org.eclipse.ui.internal.WorkbenchPlugin for bundle  
org.eclipse.ui.workbench is invalid
	at  
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator 
(AbstractBundle.java:157)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start 
(BundleContextImpl.java:751)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker 
(BundleHost.java:352)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start 
(AbstractBundle.java:280)
	at org.eclipse.osgi.framework.util.SecureAction.start 
(SecureAction.java:408)
	at  
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass 
(EclipseLazyStarter.java:111)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass 
(ClasspathManager.java:449)
	at  
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass 
(DefaultClassLoader.java:211)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass 
(BundleLoader.java:381)
	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass 
(SingleSourcePackage.java:33)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal 
(BundleLoader.java:454)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass 
(BundleLoader.java:410)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass 
(BundleLoader.java:398)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass 
(DefaultClassLoader.java:105)

at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:700)
	at  
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass 
(DefaultClassLoader.java:183)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass 
(ClasspathManager.java:576)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl 
(ClasspathManager.java:546)
	at  
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl 
(ClasspathManager.java:477)
	at  
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader 
(ClasspathManager.java:465)
	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass 
(ClasspathManager.java:445)
	at  
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass 
(DefaultClassLoader.java:211)
	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass 
(BundleLoader.java:381)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal 
(BundleLoader.java:457)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass 
(BundleLoader.java:410)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass 
(BundleLoader.java:398)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass 
(DefaultClassLoader.java:105)

at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass 
(BundleLoader.java:326)
	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass 
(BundleHost.java:231)
	at  
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator 

Re: EOPrototype in Entity Modeler question

2009-10-28 Thread Ricardo J. Parada


I'm on Eclipse 3.4 and WOLips nightly.  It's actually lots of eomodels  
that I'm converting to use prototypes.  I'm affraid to use the Entity  
Modeler.app as there are lots of cross-model relationships and may  
have to do additional work to get it to see all my models.  But if  
that will make it easier to update my attributes to use prototype  
attributes then I can go that route.  :-)


Thanks,
Ricardo



On Oct 28, 2009, at 5:35 PM, Mike Schrag wrote:

you might be hitting a bug in EM (that has since been fixed) ...  
maybe, at least.  if you look in your entity plist file, does the  
attribute have the valueClass declared, or just the prototype?  if  
it has the valueClass, then you're hit by this bug -- there was a  
release some time ago of EM that accidentally copied the prototype's  
valueClass into the attributes, so there was some risk that if you  
changed the prototype, you'd get an override in your attribute.  
newer em's detect and fix this.  you could grab the latest Entity  
Modeler.app build if you're not on 3.5 and try that to see if it  
fixes the problem (if in fact that's the problem you have).


On Oct 28, 2009, at 5:32 PM, Ricardo J. Parada wrote:



Hi,

I'm updating an eomodel to use ERPrototypes for consistency.  Many  
of our foreign key attributes are mapped to a NUMBER in ORACLE and  
have the Data Type set to Double.


Is there anyway to clear those settings and use all the settings  
from the "id" prototype in ERPrototypes?  I tried to select No  
Prototype first and then the id prototype but the Data Type still  
says Double.  And I know that for new attributes if I pick the id  
prototype then the Data Type defaults to "Integer".


Thanks,
Ricardo Parada


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to msch...@mdimension.com



___
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:
http://lists.apple.com/mailman/options/webobjects-dev/rparada 
%40mac.com


This email sent to rpar...@mac.com


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: EOPrototype in Entity Modeler question

2009-10-28 Thread Mike Schrag
you might be hitting a bug in EM (that has since been fixed) ...  
maybe, at least.  if you look in your entity plist file, does the  
attribute have the valueClass declared, or just the prototype?  if it  
has the valueClass, then you're hit by this bug -- there was a release  
some time ago of EM that accidentally copied the prototype's  
valueClass into the attributes, so there was some risk that if you  
changed the prototype, you'd get an override in your attribute. newer  
em's detect and fix this.  you could grab the latest Entity  
Modeler.app build if you're not on 3.5 and try that to see if it fixes  
the problem (if in fact that's the problem you have).


On Oct 28, 2009, at 5:32 PM, Ricardo J. Parada wrote:



Hi,

I'm updating an eomodel to use ERPrototypes for consistency.  Many  
of our foreign key attributes are mapped to a NUMBER in ORACLE and  
have the Data Type set to Double.


Is there anyway to clear those settings and use all the settings  
from the "id" prototype in ERPrototypes?  I tried to select No  
Prototype first and then the id prototype but the Data Type still  
says Double.  And I know that for new attributes if I pick the id  
prototype then the Data Type defaults to "Integer".


Thanks,
Ricardo Parada


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to msch...@mdimension.com



___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


EOPrototype in Entity Modeler question

2009-10-28 Thread Ricardo J. Parada


Hi,

I'm updating an eomodel to use ERPrototypes for consistency.  Many of  
our foreign key attributes are mapped to a NUMBER in ORACLE and have  
the Data Type set to Double.


Is there anyway to clear those settings and use all the settings from  
the "id" prototype in ERPrototypes?  I tried to select No Prototype  
first and then the id prototype but the Data Type still says Double.   
And I know that for new attributes if I pick the id prototype then the  
Data Type defaults to "Integer".


Thanks,
Ricardo Parada


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Stand Alone Entity Modeler Problem

2009-09-18 Thread Mike Schrag
btw, Entity Modeler.app is only SORT OF supported ... I highly  
recommend using WOLips + Entity Modeler unless you really have to.


On Sep 18, 2009, at 3:39 PM, Tavis McDevitt wrote:


Dear WebObjects Team:

I installed the full Eclipse+WOLips turn key installer today. When I  
launch the Entity Modeler application and try to create a new model,  
I get the following error (after choosing a folder): General  
Failure, Creating empty EOModelGroup for this model because null  
NullPointerException. Opening an existing EOModel gives me a similar  
error. (OS X 10.5.8 Intel)


Is there something else I need to do to set up the application?  
Thank you,


Tavis McDevitt

___
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:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to msch...@mdimension.com


 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Stand Alone Entity Modeler Problem

2009-09-18 Thread Mike Schrag

Dear WebObjects Team:

I installed the full Eclipse+WOLips turn key installer today. When I  
launch the Entity Modeler application and try to create a new model,  
I get the following error (after choosing a folder): General  
Failure, Creating empty EOModelGroup for this model because null  
NullPointerException. Opening an existing EOModel gives me a similar  
error. (OS X 10.5.8 Intel)


Is there something else I need to do to set up the application?  
Thank you,
This would be what we in the business call "a bug" ... Not sure  
exactly when this died. I have been avoiding doing a new build of this  
until 3.5 was stable, but I might go ahead and push out a 3.5 carbon  
version. ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Stand Alone Entity Modeler Problem

2009-09-18 Thread Tavis McDevitt
Dear WebObjects Team:

I installed the full Eclipse+WOLips turn key installer today. When I launch the 
Entity Modeler application and try to create a new model, I get the following 
error (after choosing a folder): General Failure, Creating empty EOModelGroup 
for this model because null NullPointerException. Opening an existing EOModel 
gives me a similar error. (OS X 10.5.8 Intel)

Is there something else I need to do to set up the application? Thank you,

Tavis McDevitt


   ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOLips Entity Modeler SQL Generation and WO 5.4

2009-07-08 Thread Miguel Angel Torres Avila

Thanks David,

This is exactly what I was looking for.

I will try it.

Gracias.



On Jul 7, 2009, at 6:00 PM, David Avendasora wrote:



On Jul 7, 2009, at 6:17 PM, Miguel Angel Torres Avila wrote:


Hi, Thanks for the hint about using Prototypes, it is really useful.


That brought to my mine a questing that is a little out of the topic.

If you have an attribute prototyped as currencyAmount the precision  
is set to 38 and the scale to 4. The Data Type suggested is  
java.math.BigDecimal.
How are you guys controlling that the BigDecimal in your java class  
does not have a value whit a scale superior of 4 before saving the  
editing context to avoid an exception?


We are currently solving this just rounding the value before  
saving, or in the validation method  to ensure the scale is not  
superior that the value defined in modeler. But one of the great  
things of prototyping is that if for some reason I want to change  
the scale to 5 instead 4, all the attribute definition's that are  
using that prototype will be updated, what about the BigDecimal?


Maybe I am wrong on thinking that I should be sure that the scale  
of my BigDecimal  must be less than or equals to the scale defined  
in the modeler to avoid exception on saving.


How do you guys handle this?


I have modified my EOGenerator _Entity.java template to watch for  
BigDecimal data types and to automatically set the scale to what the  
Model has the scale set to. Here's the snippit of code from the  
attribute setter method:


#if ($attribute.javaClassName == "java.math.BigDecimal")
if (${attribute.name} != null) {
			${attribute.name} = ${attribute.name}.setScale($ 
{attribute.scale}, RoundingMode.HALF_UP);

}
#end

I never had an error since I started using this and if I change the  
settings in the EOModel, my classes are updated when the  
EOGeneration runs.


Dave








On Jul 7, 2009, at 2:42 PM, Johann Werner wrote:



Am 07.07.2009 um 21:09 schrieb Scott M. Neal:



On Jun 30, 2009, at 5:43 PM, David Avendasora wrote:



On Jun 30, 2009, at 8:29 PM, Scott M. Neal wrote:

Well, if you're looking for excuses to "upgrade" things, maybe  
transition to using Prototypes. I'm sure the Postgress  
Prototypes in Wonder's ERPrototypes will all have the proper  
External Types. :-)


Wow, thank you Dave, that DOES make things substantially easier
(and less prone to error--sure enough, had a missing external  
type in
one of the entities).  All this modern fanciness, still getting  
used

to it...

Now my question is, for the Postgresql prototypes, which one
is recommended to use for primary keys?  Googling reveals some  
people
using long (called longNumber in prototypes), which is what I  
historically
used, while others are using varchar (but not consistent  
regarding size:

10? 100? 10,000,000?  :-))


Why don't you just choose the most obvious prototype: 'id'? Life  
can be so easy ;-)


jw




Thank you,

Scott


Otherwise, you should be able to just select one entity at a  
time and click the SQL button and see which one(s) generate the  
error. I see pretty clear error messages with this, that say  
exactly what external type is not recognized.


Dave


Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com






___
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:
http://lists.apple.com/mailman/options/webobjects-dev/miguel%40toracom.net

This email sent to mig...@toracom.net




___
Ing. Miguel Angel Torres Avila
Director General
Tel: +52 (33) 3367 1892
Cel: +52 (33) 3106 8758
E-mail: mig...@toracom.net
www.toracom.net




___
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:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/miguel%40toracom.net

This email sent to mig...@toracom.net




___
Ing. Miguel Angel Torres Avila




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/U

Re: WOLips Entity Modeler SQL Generation and WO 5.4

2009-07-08 Thread David Avendasora


On Jul 8, 2009, at 3:21 AM, Johann Werner wrote:


Hi Dave,

this addition to _Entity.java seems very useful. Perhaps it should  
be added to the standard templates? They would become more sort of  
"use them and don't care" so perhaps file a jira.


Done. WOL-1035


the snippit of code from the attribute setter method:

#if ($attribute.javaClassName == "java.math.BigDecimal")
if (${attribute.name} != null) {
			${attribute.name} = ${attribute.name}.setScale($ 
{attribute.scale}, RoundingMode.HALF_UP);

}
#ends


Here's what the code looks like based on the default templates since  
they use "value" instead of the actual attribute name:


#if ($attribute.javaClassName == "java.math.BigDecimal")
if (value != null) {
value = value.setScale(${attribute.scale}, 
RoundingMode.HALF_UP);
}
#ends


Dave
___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WOLips Entity Modeler SQL Generation and WO 5.4

2009-07-08 Thread Johann Werner

Hi Dave,

this addition to _Entity.java seems very useful. Perhaps it should be  
added to the standard templates? They would become more sort of "use  
them and don't care" so perhaps file a jira.


jw


Am 08.07.2009 um 01:00 schrieb David Avendasora:



On Jul 7, 2009, at 6:17 PM, Miguel Angel Torres Avila wrote:


Hi, Thanks for the hint about using Prototypes, it is really useful.


That brought to my mine a questing that is a little out of the topic.

If you have an attribute prototyped as currencyAmount the precision  
is set to 38 and the scale to 4. The Data Type suggested is  
java.math.BigDecimal.
How are you guys controlling that the BigDecimal in your java class  
does not have a value whit a scale superior of 4 before saving the  
editing context to avoid an exception?


We are currently solving this just rounding the value before  
saving, or in the validation method  to ensure the scale is not  
superior that the value defined in modeler. But one of the great  
things of prototyping is that if for some reason I want to change  
the scale to 5 instead 4, all the attribute definition's that are  
using that prototype will be updated, what about the BigDecimal?


Maybe I am wrong on thinking that I should be sure that the scale  
of my BigDecimal  must be less than or equals to the scale defined  
in the modeler to avoid exception on saving.


How do you guys handle this?


I have modified my EOGenerator _Entity.java template to watch for  
BigDecimal data types and to automatically set the scale to what the  
Model has the scale set to. Here's the snippit of code from the  
attribute setter method:


#if ($attribute.javaClassName == "java.math.BigDecimal")
if (${attribute.name} != null) {
			${attribute.name} = ${attribute.name}.setScale($ 
{attribute.scale}, RoundingMode.HALF_UP);

}
#end

I never had an error since I started using this and if I change the  
settings in the EOModel, my classes are updated when the  
EOGeneration runs.


Dave








On Jul 7, 2009, at 2:42 PM, Johann Werner wrote:



Am 07.07.2009 um 21:09 schrieb Scott M. Neal:



On Jun 30, 2009, at 5:43 PM, David Avendasora wrote:



On Jun 30, 2009, at 8:29 PM, Scott M. Neal wrote:

Well, if you're looking for excuses to "upgrade" things, maybe  
transition to using Prototypes. I'm sure the Postgress  
Prototypes in Wonder's ERPrototypes will all have the proper  
External Types. :-)


Wow, thank you Dave, that DOES make things substantially easier
(and less prone to error--sure enough, had a missing external  
type in
one of the entities).  All this modern fanciness, still getting  
used

to it...

Now my question is, for the Postgresql prototypes, which one
is recommended to use for primary keys?  Googling reveals some  
people
using long (called longNumber in prototypes), which is what I  
historically
used, while others are using varchar (but not consistent  
regarding size:

10? 100? 10,000,000?  :-))


Why don't you just choose the most obvious prototype: 'id'? Life  
can be so easy ;-)


jw




Thank you,

Scott


Otherwise, you should be able to just select one entity at a  
time and click the SQL button and see which one(s) generate the  
error. I see pretty clear error messages with this, that say  
exactly what external type is not recognized.


Dave


Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com






___
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:
http://lists.apple.com/mailman/options/webobjects-dev/miguel%40toracom.net

This email sent to mig...@toracom.net




___
Ing. Miguel Angel Torres Avila
Director General
Tel: +52 (33) 3367 1892
Cel: +52 (33) 3106 8758
E-mail: mig...@toracom.net
www.toracom.net




___
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:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/jw%40oyosys.de

This email sent to j...@oyosys.de




smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will b

Re: WOLips Entity Modeler SQL Generation and WO 5.4

2009-07-07 Thread David Avendasora


On Jul 7, 2009, at 6:17 PM, Miguel Angel Torres Avila wrote:


Hi, Thanks for the hint about using Prototypes, it is really useful.


That brought to my mine a questing that is a little out of the topic.

If you have an attribute prototyped as currencyAmount the precision  
is set to 38 and the scale to 4. The Data Type suggested is  
java.math.BigDecimal.
How are you guys controlling that the BigDecimal in your java class  
does not have a value whit a scale superior of 4 before saving the  
editing context to avoid an exception?


We are currently solving this just rounding the value before saving,  
or in the validation method  to ensure the scale is not superior  
that the value defined in modeler. But one of the great things of  
prototyping is that if for some reason I want to change the scale to  
5 instead 4, all the attribute definition's that are using that  
prototype will be updated, what about the BigDecimal?


Maybe I am wrong on thinking that I should be sure that the scale of  
my BigDecimal  must be less than or equals to the scale defined in  
the modeler to avoid exception on saving.


How do you guys handle this?


I have modified my EOGenerator _Entity.java template to watch for  
BigDecimal data types and to automatically set the scale to what the  
Model has the scale set to. Here's the snippit of code from the  
attribute setter method:


#if ($attribute.javaClassName == "java.math.BigDecimal")
if (${attribute.name} != null) {
			${attribute.name} = ${attribute.name}.setScale(${attribute.scale},  
RoundingMode.HALF_UP);

}
#end

I never had an error since I started using this and if I change the  
settings in the EOModel, my classes are updated when the EOGeneration  
runs.


Dave








On Jul 7, 2009, at 2:42 PM, Johann Werner wrote:



Am 07.07.2009 um 21:09 schrieb Scott M. Neal:



On Jun 30, 2009, at 5:43 PM, David Avendasora wrote:



On Jun 30, 2009, at 8:29 PM, Scott M. Neal wrote:

Well, if you're looking for excuses to "upgrade" things, maybe  
transition to using Prototypes. I'm sure the Postgress Prototypes  
in Wonder's ERPrototypes will all have the proper External  
Types. :-)


Wow, thank you Dave, that DOES make things substantially easier
(and less prone to error--sure enough, had a missing external type  
in

one of the entities).  All this modern fanciness, still getting used
to it...

Now my question is, for the Postgresql prototypes, which one
is recommended to use for primary keys?  Googling reveals some  
people
using long (called longNumber in prototypes), which is what I  
historically
used, while others are using varchar (but not consistent regarding  
size:

10? 100? 10,000,000?  :-))


Why don't you just choose the most obvious prototype: 'id'? Life  
can be so easy ;-)


jw




Thank you,

Scott


Otherwise, you should be able to just select one entity at a time  
and click the SQL button and see which one(s) generate the error.  
I see pretty clear error messages with this, that say exactly  
what external type is not recognized.


Dave


Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com






___
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:
http://lists.apple.com/mailman/options/webobjects-dev/miguel%40toracom.net

This email sent to mig...@toracom.net




___
Ing. Miguel Angel Torres Avila
Director General
Tel: +52 (33) 3367 1892
Cel: +52 (33) 3106 8758
E-mail: mig...@toracom.net
www.toracom.net




___
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:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com


 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOLips Entity Modeler SQL Generation and WO 5.4

2009-07-07 Thread Miguel Angel Torres Avila

Hi, Thanks for the hint about using Prototypes, it is really useful.


That brought to my mine a questing that is a little out of the topic.

If you have an attribute prototyped as currencyAmount the precision is  
set to 38 and the scale to 4. The Data Type suggested is  
java.math.BigDecimal.
How are you guys controlling that the BigDecimal in your java class  
does not have a value whit a scale superior of 4 before saving the  
editing context to avoid an exception?


We are currently solving this just rounding the value before saving,  
or in the validation method  to ensure the scale is not superior that  
the value defined in modeler. But one of the great things of  
prototyping is that if for some reason I want to change the scale to 5  
instead 4, all the attribute definition's that are using that  
prototype will be updated, what about the BigDecimal?


Maybe I am wrong on thinking that I should be sure that the scale of  
my BigDecimal  must be less than or equals to the scale defined in the  
modeler to avoid exception on saving.


How do you guys handle this?





On Jul 7, 2009, at 2:42 PM, Johann Werner wrote:



Am 07.07.2009 um 21:09 schrieb Scott M. Neal:



On Jun 30, 2009, at 5:43 PM, David Avendasora wrote:



On Jun 30, 2009, at 8:29 PM, Scott M. Neal wrote:

Well, if you're looking for excuses to "upgrade" things, maybe  
transition to using Prototypes. I'm sure the Postgress Prototypes  
in Wonder's ERPrototypes will all have the proper External  
Types. :-)


Wow, thank you Dave, that DOES make things substantially easier
(and less prone to error--sure enough, had a missing external type in
one of the entities).  All this modern fanciness, still getting used
to it...

Now my question is, for the Postgresql prototypes, which one
is recommended to use for primary keys?  Googling reveals some people
using long (called longNumber in prototypes), which is what I  
historically
used, while others are using varchar (but not consistent regarding  
size:

10? 100? 10,000,000?  :-))


Why don't you just choose the most obvious prototype: 'id'? Life can  
be so easy ;-)


jw




Thank you,

Scott


Otherwise, you should be able to just select one entity at a time  
and click the SQL button and see which one(s) generate the error.  
I see pretty clear error messages with this, that say exactly what  
external type is not recognized.


Dave


Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com






___
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:
http://lists.apple.com/mailman/options/webobjects-dev/miguel%40toracom.net

This email sent to mig...@toracom.net




___
Ing. Miguel Angel Torres Avila
Director General
Tel: +52 (33) 3367 1892
Cel: +52 (33) 3106 8758
E-mail: mig...@toracom.net
www.toracom.net




 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WOLips Entity Modeler SQL Generation and WO 5.4

2009-07-07 Thread David Avendasora


On Jul 7, 2009, at 5:32 PM, Andrew Lindesay wrote:


Hello David;

I don't use Postgresql, but I believe that the prototype "id" is  
the one to use for PKs and FKs. I see that there only seems to be  
an external type of integer for Postgress and even a LongNumber  
prototype which has a java datatype of Long, is still an integer in  
Postgress. Are postgress integers really longs?


I tend to use PG's int4 and int8 types to be sure and generally use  
int8 for PK/FK's to avoid grief as tables get large.


Same here.

Based on http://www.postgresql.org/docs/8.2/static/datatype- 
numeric.html I would think that bigint (8byte) would be a better  
external data type than integer (4 byte).


I guess this is where Kieran's solution of using ERXModel so you can  
override the ERPrototypes default of "integer" would fit in if you  
think you'll need keys > 2147483647. Two billion is a lot, but not a  
completely unreasonable quantity.


Dave




cheers.

___
Andrew Lindesay
www.lindesay.co.nz





___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WOLips Entity Modeler SQL Generation and WO 5.4

2009-07-07 Thread Andrew Lindesay

Hello David;

I don't use Postgresql, but I believe that the prototype "id" is the  
one to use for PKs and FKs. I see that there only seems to be an  
external type of integer for Postgress and even a LongNumber  
prototype which has a java datatype of Long, is still an integer in  
Postgress. Are postgress integers really longs?


I tend to use PG's int4 and int8 types to be sure and generally use  
int8 for PK/FK's to avoid grief as tables get large.


cheers.

___
Andrew Lindesay
www.lindesay.co.nz

___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WOLips Entity Modeler SQL Generation and WO 5.4

2009-07-07 Thread David Avendasora


On Jul 7, 2009, at 4:53 PM, Kieran Kelleher wrote:

 and if you want even more modern 'fanciness', you can turn on  
ERXModel as your eomodel class in Wonder, you can have custom  
prototypes of your own in other eomodel files and with the right  
naming convention (of the eomodel file) and using the same prototype  
attribute name, you "override" the built in prototypes with your own  
custom definitions. useful for the BigDecimal scales etc. :-;


There he goes again winking with his chin. I believe he _is_ insane. :-P



See ERXModel api (or source) for more details.

Regards, Kieran

On Jul 7, 2009, at 3:42 PM, Johann Werner wrote:



Am 07.07.2009 um 21:09 schrieb Scott M. Neal:



On Jun 30, 2009, at 5:43 PM, David Avendasora wrote:



On Jun 30, 2009, at 8:29 PM, Scott M. Neal wrote:

Well, if you're looking for excuses to "upgrade" things, maybe  
transition to using Prototypes. I'm sure the Postgress Prototypes  
in Wonder's ERPrototypes will all have the proper External  
Types. :-)


Wow, thank you Dave, that DOES make things substantially easier
(and less prone to error--sure enough, had a missing external type  
in

one of the entities).  All this modern fanciness, still getting used
to it...

Now my question is, for the Postgresql prototypes, which one
is recommended to use for primary keys?  Googling reveals some  
people
using long (called longNumber in prototypes), which is what I  
historically
used, while others are using varchar (but not consistent regarding  
size:

10? 100? 10,000,000?  :-))


Why don't you just choose the most obvious prototype: 'id'? Life  
can be so easy ;-)


jw




Thank you,

Scott


Otherwise, you should be able to just select one entity at a time  
and click the SQL button and see which one(s) generate the error.  
I see pretty clear error messages with this, that say exactly  
what external type is not recognized.


Dave


Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com






___
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:
http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com

This email sent to kieran_li...@mac.com


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com




___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WOLips Entity Modeler SQL Generation and WO 5.4

2009-07-07 Thread David Avendasora


On Jul 7, 2009, at 3:09 PM, Scott M. Neal wrote:



On Jun 30, 2009, at 5:43 PM, David Avendasora wrote:



On Jun 30, 2009, at 8:29 PM, Scott M. Neal wrote:

Well, if you're looking for excuses to "upgrade" things, maybe  
transition to using Prototypes. I'm sure the Postgress Prototypes  
in Wonder's ERPrototypes will all have the proper External Types. :-)


Wow, thank you Dave, that DOES make things substantially easier
(and less prone to error--sure enough, had a missing external type in
one of the entities).  All this modern fanciness, still getting used
to it...

Now my question is, for the Postgresql prototypes, which one
is recommended to use for primary keys?  Googling reveals some people
using long (called longNumber in prototypes), which is what I  
historically
used, while others are using varchar (but not consistent regarding  
size:

10? 100? 10,000,000?  :-))


I don't use Postgresql, but I believe that the prototype "id" is the  
one to use for PKs and FKs. I see that there only seems to be an  
external type of integer for Postgress and even a LongNumber prototype  
which has a java datatype of Long, is still an integer in Postgress.  
Are postgress integers really longs?


Dave



Thank you,

Scott


Otherwise, you should be able to just select one entity at a time  
and click the SQL button and see which one(s) generate the error. I  
see pretty clear error messages with this, that say exactly what  
external type is not recognized.


Dave


Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com











___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WOLips Entity Modeler SQL Generation and WO 5.4

2009-07-07 Thread Kieran Kelleher
 and if you want even more modern 'fanciness', you can turn on  
ERXModel as your eomodel class in Wonder, you can have custom  
prototypes of your own in other eomodel files and with the right  
naming convention (of the eomodel file) and using the same prototype  
attribute name, you "override" the built in prototypes with your own  
custom definitions. useful for the BigDecimal scales etc. :-;


See ERXModel api (or source) for more details.

Regards, Kieran

On Jul 7, 2009, at 3:42 PM, Johann Werner wrote:



Am 07.07.2009 um 21:09 schrieb Scott M. Neal:



On Jun 30, 2009, at 5:43 PM, David Avendasora wrote:



On Jun 30, 2009, at 8:29 PM, Scott M. Neal wrote:

Well, if you're looking for excuses to "upgrade" things, maybe  
transition to using Prototypes. I'm sure the Postgress Prototypes  
in Wonder's ERPrototypes will all have the proper External  
Types. :-)


Wow, thank you Dave, that DOES make things substantially easier
(and less prone to error--sure enough, had a missing external type in
one of the entities).  All this modern fanciness, still getting used
to it...

Now my question is, for the Postgresql prototypes, which one
is recommended to use for primary keys?  Googling reveals some people
using long (called longNumber in prototypes), which is what I  
historically
used, while others are using varchar (but not consistent regarding  
size:

10? 100? 10,000,000?  :-))


Why don't you just choose the most obvious prototype: 'id'? Life can  
be so easy ;-)


jw




Thank you,

Scott


Otherwise, you should be able to just select one entity at a time  
and click the SQL button and see which one(s) generate the error.  
I see pretty clear error messages with this, that say exactly what  
external type is not recognized.


Dave


Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com






___
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:
http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com

This email sent to kieran_li...@mac.com


___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


  1   2   3   >