Re: Getters without the get part

2009-03-31 Thread TW


On Mar 30, 2009, at 9:43 PM, Chuck Hill wrote:



On Mar 30, 2009, at 9:27 PM, Sanford Selznick wrote:


Hello,

Eclipse offers Generate Getters and Setters from its Source menu.

Is there any way to have this feature add getters without the get  
prefix?  I don't see any way to change this in the Java-Code Style- 
Code Templates preferences.


There are other places in Eclipse that allow for no get, but not  
this menu item specifically.


Any ideas?



No.  This is more or less hardwired into Eclipse.  I hate it, but I  
live with it.



Chuck


It drives me nuts too. With all the customization options in eclipse  
it's just crazy that you can define the signature for getters/setters.


Tim
UCLA GSEIS

___
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: modeling problem

2009-03-31 Thread TW

On Mar 31, 2009, at 10:06 AM, Chuck Hill wrote:



On Mar 30, 2009, at 4:29 PM, TW wrote:


My goal was to have an entity/class (where InetOrgPerson is  
super) in a middle framework that can be used to wrap a  
relationship between ldap user and database employee (each  
modeled in their own frameworks). So, the way I have it set up  
there's really no difference between InetOrgPerson and  
GenericUser except that GenericUser has the relationship to  
database employee and InetOrgPerson does not.


I still wonder if GenericUser should have a relationship to both  
InetOrgPerson and DatabaseEmployee.


With that approach, it sounds like GenericUser would have to have  
it's own data table separate from the other two?


Doesn't it need to anyway for the relationship to DatabaseEmployee?


Not really. Time for ascii sheep. This is what I have.

LDAPModel		---to build path--		UserModel		--to build path	 
DBModel

=   

InetOrgPerson   GenericUser   
  -   Employee

(InetOrgPerson/parent)



The only relationship (on the right) uses employee_id.


That is in the LDAP information?


Yes, InetOrgPerson has employeeNumber. We use FileMaker-based tools  
I created for adding accounts to OD. They call DSImport to add records  
to OD as needed and they're set up to push the employee_id into that  
attribute.


Actually, there's a scenario right there that supports your suggestion  
to have an intermediary GenericUser table since that is essentially  
the same position the old FileMaker database holds - collection of  
everyone.


This approach makes the ldap side of things the starting point  
since that is the store that knows what type of user the person is.  
If ldap authentication is successful, I query for the matching  
GenericUser which is essentially an ldap person since GenericUser  
inherits from InetOrgPerson.


That sounds like a correct use of inheritance.  I think you are  
going to need a restricting qualifier on InetOrgPerson that is  
always false.


I tried the (1=0) restricting qualifier and EOGenerator did not like  
it and coughed up an error about being unable to parse the qualifier.  
Good thought though.


Well, I've got a version in my repository the way it is. I'm trying to  
model it the other way around now and we'll see how that works.


Then, I can test for the related employee record. If there, foo, if  
not, bar - depends on the app.


It sounds like your preferred approach would be to create another  
table for GenericUser making it a database entity instead of  
inheriting from InetOrgPerson. That could work too. The problem  
there is then I have two entities, InetOrgPerson and GenericUser  
that have to have similar attributes, including usertype,  
email, etc.  And, when a new Employee is created, I'd have to  
force the creation of a GenericUser.


It sounds like you are on the right track.  I think.

I can see advantages each way and it's too bad I'm somewhat at the  
mercy of the greater campus.


Hence the lure of herding goats and sheep, living on wine and cheese.


Chuck

___
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: modeling problem

2009-03-30 Thread TW

Thanks Chuck:

On Mar 30, 2009, at 1:18 PM, Chuck Hill wrote:



On Mar 29, 2009, at 4:48 PM, TW wrote:


All:

I have a model of our ldap directory with InetOrgPerson the base  
user entity. I've made InetOrgPerson abstract with it's table  
inetOrgPerson. I have the framework project containing that model  
in the build path of another that I'm using as a generic user  
framework.


In that second framework I have another model with a GenericUser  
entity. That entity has InetOrgPerson as it's parent. I've added  
this second framework to my app build path.


- in Entity Modeler if I set the table for GenericUser to  
inetOrgPerson (the same as it's parent), my app fetches 2  
identical GenericUser EO's for each 1 matching record in LDAP


That is because you have set up Single Table Inheritance BUT not  
added any restricting qualifier on either entity.  Are you certain  
that InetOrgPerson is marked as abstract?  Check it again...


InetOrgPerson is definitely checked Abstract in my OD model.

I didn't think I needed a restricting qualifier if the parent was  
abstract. I do get errors requiring a restricting qualifier if  
InetOrgPerson is _not_ abstract. My goal was to have an entity/class  
(where InetOrgPerson is super) in a middle framework that can be  
used to wrap a relationship between ldap user and database employee  
(each modeled in their own frameworks). So, the way I have it set up  
there's really no difference between InetOrgPerson and GenericUser  
except that GenericUser has the relationship to database employee  
and InetOrgPerson does not.


I'm trying to abstract everything so that I can pick and choose what  
gets used on a per app basis.


- if I change the table for GenericUser to GenericUser it works  
as expected. However, there is no such table or object in my LDAP  
directory. And I'm concerned that with that setup attempts to write  
to the directory would fail.


It should be OK like that.  That is Vertical Inheritance which may  
have its own issues.


Well, I'm willing to tackle those issues when I encounter them if this  
should work. Fetches are currently working if I leave it as is and I'm  
not currently using any WO apps to create GenericUser or InetOrgPerson  
EO's.


The first way seems that it should be the proper way to do it but I  
don't understand why I'm getting two EO's for each record. Can  
someone point me to what I'm being dumb about?


I am not sure that the first way is correct.  What if you then add  
data to GenericUser?  It sort of feels like InetOrgPerson ought to  
be relationship from GenericUser, not the parent.



Chuck

___
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: modeling problem

2009-03-30 Thread TW

On Mar 30, 2009, at 2:16 PM, Chuck Hill wrote:



On Mar 30, 2009, at 1:58 PM, TW wrote:


Thanks Chuck:

On Mar 30, 2009, at 1:18 PM, Chuck Hill wrote:



On Mar 29, 2009, at 4:48 PM, TW wrote:


All:

I have a model of our ldap directory with InetOrgPerson the base  
user entity. I've made InetOrgPerson abstract with it's table  
inetOrgPerson. I have the framework project containing that model  
in the build path of another that I'm using as a generic user  
framework.


In that second framework I have another model with a  
GenericUser entity. That entity has InetOrgPerson as it's  
parent. I've added this second framework to my app build path.


- in Entity Modeler if I set the table for GenericUser to  
inetOrgPerson (the same as it's parent), my app fetches 2  
identical GenericUser EO's for each 1 matching record in LDAP


That is because you have set up Single Table Inheritance BUT not  
added any restricting qualifier on either entity.  Are you certain  
that InetOrgPerson is marked as abstract?  Check it again...


InetOrgPerson is definitely checked Abstract in my OD model.


I have never tried this without a restricting qualifier on one of  
them.


You could try adding a restricting qualifier of (1 = 0) on  
InetOrgPerson.



I didn't think I needed a restricting qualifier if the parent was  
abstract. I do get errors requiring a restricting qualifier if  
InetOrgPerson is _not_ abstract.


This sounds like a bug to me right now, please* bugreport.apple.com


My goal was to have an entity/class (where InetOrgPerson is super)  
in a middle framework that can be used to wrap a relationship  
between ldap user and database employee (each modeled in their own  
frameworks). So, the way I have it set up there's really no  
difference between InetOrgPerson and GenericUser except that  
GenericUser has the relationship to database employee and  
InetOrgPerson does not.


I still wonder if GenericUser should have a relationship to both  
InetOrgPerson and DatabaseEmployee.


With that approach, it sounds like GenericUser would have to have it's  
own data table separate from the other two?


T


I'm trying to abstract everything so that I can pick and choose  
what gets used on a per app basis.


- if I change the table for GenericUser to GenericUser it  
works as expected. However, there is no such table or object in  
my LDAP directory. And I'm concerned that with that setup  
attempts to write to the directory would fail.


It should be OK like that.  That is Vertical Inheritance which may  
have its own issues.


Well, I'm willing to tackle those issues when I encounter them if  
this should work. Fetches are currently working if I leave it as is  
and I'm not currently using any WO apps to create GenericUser or  
InetOrgPerson EO's.


Careful, that VI stuff can be dodgy.


Chuck


The first way seems that it should be the proper way to do it but  
I don't understand why I'm getting two EO's for each record. Can  
someone point me to what I'm being dumb about?


I am not sure that the first way is correct.  What if you then add  
data to GenericUser?  It sort of feels like InetOrgPerson ought to  
be relationship from GenericUser, not the parent.



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


Re: modeling problem

2009-03-30 Thread TW

Begin forwarded message:

On Mar 30, 2009, at 3:51 PM, Chuck Hill wrote:



On Mar 30, 2009, at 3:05 PM, TW wrote:


On Mar 30, 2009, at 2:16 PM, Chuck Hill wrote:



On Mar 30, 2009, at 1:58 PM, TW wrote:


Thanks Chuck:

On Mar 30, 2009, at 1:18 PM, Chuck Hill wrote:



On Mar 29, 2009, at 4:48 PM, TW wrote:


All:

I have a model of our ldap directory with InetOrgPerson the  
base user entity. I've made InetOrgPerson abstract with it's  
table inetOrgPerson. I have the framework project containing  
that model in the build path of another that I'm using as a  
generic user framework.


In that second framework I have another model with a  
GenericUser entity. That entity has InetOrgPerson as it's  
parent. I've added this second framework to my app build path.


- in Entity Modeler if I set the table for GenericUser to  
inetOrgPerson (the same as it's parent), my app fetches 2  
identical GenericUser EO's for each 1 matching record in LDAP


That is because you have set up Single Table Inheritance BUT not  
added any restricting qualifier on either entity.  Are you  
certain that InetOrgPerson is marked as abstract?  Check it  
again...


InetOrgPerson is definitely checked Abstract in my OD model.


I have never tried this without a restricting qualifier on one of  
them.


You could try adding a restricting qualifier of (1 = 0) on  
InetOrgPerson.



I didn't think I needed a restricting qualifier if the parent was  
abstract. I do get errors requiring a restricting qualifier if  
InetOrgPerson is _not_ abstract.


This sounds like a bug to me right now, please* bugreport.apple.com


My goal was to have an entity/class (where InetOrgPerson is  
super) in a middle framework that can be used to wrap a  
relationship between ldap user and database employee (each  
modeled in their own frameworks). So, the way I have it set up  
there's really no difference between InetOrgPerson and  
GenericUser except that GenericUser has the relationship to  
database employee and InetOrgPerson does not.


I still wonder if GenericUser should have a relationship to both  
InetOrgPerson and DatabaseEmployee.


With that approach, it sounds like GenericUser would have to have  
it's own data table separate from the other two?


Doesn't it need to anyway for the relationship to DatabaseEmployee?


Not really. Time for ascii sheep. This is what I have.

LDAPModel   ---to build path--  UserModel   
--to build path DBModel
=   

InetOrgPerson   GenericUser   
  -   Employee

(InetOrgPerson/parent)



The only relationship (on the right) uses employee_id. This approach  
makes the ldap side of things the starting point since that is the  
store that knows what type of user the person is. If ldap  
authentication is successful, I query for the matching GenericUser  
which is essentially an ldap person since GenericUser inherits from  
InetOrgPerson. Then, I can test for the related employee record. If  
there, foo, if not, bar - depends on the app.


It sounds like your preferred approach would be to create another  
table for GenericUser making it a database entity instead of  
inheriting from InetOrgPerson. That could work too. The problem there  
is then I have two entities, InetOrgPerson and GenericUser that have  
to have similar attributes, including usertype, email, etc.  And,  
when a new Employee is created, I'd have to force the creation of a  
GenericUser.


I can see advantages each way and it's too bad I'm somewhat at the  
mercy of the greater campus.








T


I'm trying to abstract everything so that I can pick and choose  
what gets used on a per app basis.


- if I change the table for GenericUser to GenericUser it  
works as expected. However, there is no such table or object  
in my LDAP directory. And I'm concerned that with that setup  
attempts to write to the directory would fail.


It should be OK like that.  That is Vertical Inheritance which  
may have its own issues.


Well, I'm willing to tackle those issues when I encounter them if  
this should work. Fetches are currently working if I leave it as  
is and I'm not currently using any WO apps to create GenericUser  
or InetOrgPerson EO's.


Careful, that VI stuff can be dodgy.


Chuck


The first way seems that it should be the proper way to do it  
but I don't understand why I'm getting two EO's for each  
record. Can someone point me to what I'm being dumb about?


I am not sure that the first way is correct.  What if you then  
add data to GenericUser?  It sort of feels like InetOrgPerson  
ought to be relationship from GenericUser, not the parent.



Chuck

modeling problem

2009-03-29 Thread TW

All:

I have a model of our ldap directory with InetOrgPerson the base  
user entity. I've made InetOrgPerson abstract with it's table  
inetOrgPerson. I have the framework project containing that model in  
the build path of another that I'm using as a generic user framework.


In that second framework I have another model with a GenericUser  
entity. That entity has InetOrgPerson as it's parent. I've added  
this second framework to my app build path.


- in Entity Modeler if I set the table for GenericUser to  
inetOrgPerson (the same as it's parent), my app fetches 2 identical  
GenericUser EO's for each 1 matching record in LDAP


- if I change the table for GenericUser to GenericUser it works as  
expected. However, there is no such table or object in my LDAP  
directory. And I'm concerned that with that setup attempts to write to  
the directory would fail.


The first way seems that it should be the proper way to do it but I  
don't understand why I'm getting two EO's for each record. Can someone  
point me to what I'm being dumb about?


Tim
UCLA GSEIS
___
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: used shibboleth

2009-03-28 Thread TW

Daniel:

I'm looking into the same thing for my apps. From what I've read it  
seems like there can be some level of customization between each  
particular service provider and the IdP. I think the service provider  
admin and the IdP admin can decide together what is going to come back  
for a particular app. I get the feeling that what comes back in the  
REMOTE_USER header can have multiple attributes.


Depending on the app, what comes back could be mappable to a user  
type object or not. Along those lines, a framework might include logic  
for reading preferences for:


1. Entity.name(s) you want to grab automatically
2. attribute(s) of those entities that map to the received data

You may also want some data item that helps with authorization.  
There's not much needed to make a really abstract framework and each  
installation is likely to be really customizable. But, I'm happy to  
share whatever I come up with when I get there.


Tim
UCLA GSEIS

On Mar 28, 2009, at 8:34 PM, Daniel Beatty wrote:




Begin forwarded message:


From: Daniel Beatty danielbea...@mac.com
Date: March 28, 2009 10:10:29 PM CDT
To: Joe Little jmlit...@gmail.com
Cc: Daniel Beatty danielbea...@mac.com
Subject: Re: used shibboleth

Greetings Joe,
Any parsing on that string?  Does it contain information as to what  
realm or authority granted the ticket?


In my case, I am trying to use it similar to a UID in establishing  
a standard set of permissions in my app(s).  Naturally, identifying  
groups would be nice, too.  I am not sure how to approach this  
topic.  But my initial guesses would say to look up the LDAP  
information for participating institutions in my federation and  
determine group and user permissions accordingly.


Unfortunately, this one of those areas where security can high-jack  
a project, even a dissertation with all the academic freedom in the  
world.


Later,
Dan



On Mar 28, 2009, at 12:55 PM, Joe Little wrote:

On Sat, Mar 28, 2009 at 10:53 AM, Joe Little jmlit...@gmail.com  
wrote:
On Fri, Mar 27, 2009 at 9:56 PM, Daniel Beatty danielbea...@mac.com 
 wrote:

Greetings Chuck,
It seems that you are quite correct as I have started to  
investigate this
issue of SSO-WO.  There is a page from Shibboleth that confirms  
that

REMOTE_USER is the header - environment variable needed
(https://spaces.internet2.edu/display/SHIB2/NativeSPEnableApplication 
).


What value it gives and how we can use that information is a  
whole different
story altogether.  Would you be willing to advise me on creating  
enough of a
Shibboleth - WO framework such that we could make good use of  
it?   The
work you did with Cosign and WebAuth may be highly valuable in  
working up

some Federated WO Authentication Framework.


I should jump in here as we were testing Shibboleth here and were  
one

of those WebAuth sites. I'm actually switching to using just plain
kerberos for our next project, as at least with WebAuth and
furthermore with any use of the REMOTE_USER you either have to
(WebAuth requires https:// only sites) or should for security  
reasons
restrict everything to SSL. In my case, I have other portions of  
the
app that are best suited one-time passwords and the like for  
users who

have no relationship with us for certain actions they need. But, I
digress.

The general bit is that you restrict your site via Apache to be  
bound

by mod_webauth, mod_shibboleth, etc. Thus, all users are pre-authed
before they get to you. You then simple check the WOContext to  
get the

value you want from the header.

Here's the webauth example (webauth sets two vars, I went for the  
more

specific of the two:

/**
 * Get WebAuth User
 **/
 public String webAuthUser()
 {
 webAuthUser = context().request().headerForKey 
(webauth_user);

 return webAuthUser;
 }

You'd simply switch that to remote_user





And for completeness, in your login() or similar code, we simply
tested for a webauth session (this example is incomplete for all the
tests you'd want to do) and if so, we avoided the login user/ 
password

prompt which was only effective when it wasn't an SSL session for
development/testing

/**
 * Test if there is a WebAuth User
 **/
 public boolean isWebAuthSession()
 {
 boolean result = false;


 if (webAuthUser() != null) {
 result = true;
 ((Session)session()).setUserLogin(webAuthUser());
 }
 return(result);
 }


But, you get the idea.




Thank you,
Dan



On Mar 11, 2009, at 10:58 PM, Chuck Hill wrote:



On Mar 11, 2009, at 8:26 PM, TW wrote:


On Mar 11, 2009, at 7:37 PM, Chuck Hill wrote:



On Mar 11, 2009, at 6:31 PM, TW wrote:


All:

Our campus is going to be moving to shibboleth as the  
preferred sso
authentication system for web apps. Has anyone here had any  
experience with
deploying web objects apps behind this authentication  
mechanism? My
understanding is that shibboleth really operates more at the  
apache/web
server layer. Because of that I'm wondering

difficulties with cross-model relationship

2009-03-20 Thread TW

All:

I have  an entity called Paper in a new model A  that I would like  
to relate to an entity Employee in an established model B. Each of  
them are in their own framework project but both models use the same  
database. I was hoping to make this a many to many and flatten it.  
I've tried many things tonight to get this to work but apparently I'm  
doing all the wrong things.


Apple's documentation seems to indicate that I should be able to  
resolve type references to any models included in the model group.  
I've added B eomodel to the model group section in my EOGenerate file.


I've tried adding B.framework the build path of A.framework. This  
seems to do the right things and add the join table, etc., but then  
model B can't resolve type references to the entity in model A. I'm  
assuming I'm just really confused about how this should work but I've  
reached my limit for banging my head against it.


I'd be really grateful if anyone doing something similar could share  
how they may have gotten this working.


T
___
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: difficulties with cross-model relationship

2009-03-20 Thread TW

On Mar 20, 2009, at 7:31 AM, Chuck Hill wrote:



On Mar 19, 2009, at 11:38 PM, TW wrote:


All:

I have  an entity called Paper in a new model A  that I would  
like to relate to an entity Employee in an established model B.  
Each of them are in their own framework project but both models use  
the same database. I was hoping to make this a many to many and  
flatten it. I've tried many things tonight to get this to work but  
apparently I'm doing all the wrong things.


Apple's documentation seems to indicate that I should be able to  
resolve type references to any models included in the model group.  
I've added B eomodel to the model group section in my EOGenerate  
file.


I've tried adding B.framework the build path of A.framework. This  
seems to do the right things and add the join table, etc., but then  
model B can't resolve type references to the entity in model A. I'm  
assuming I'm just really confused about how this should work but  
I've reached my limit for banging my head against it.


I'd be really grateful if anyone doing something similar could  
share how they may have gotten this working.



It sounds like you have a circular dependancy: Framework A depends  
on Framework B _and_ Framework B depends on Framework A.  That just  
won't work in Java.  I think you can only do this if the  
relationships are only in one direction or if both models are in the  
same project.



Chuck



Thanks Chuck. I actually did avoid that happening since I've only  
added the existing framework to the new framework (and not the  
reverse). The problem I see on my end is that everything seems to work  
- relationship add, flattening, etc., but then when I clean everything  
the older framework does not retain visibility to the types in the  
newer one. I think I have a problem with approach. I think the best  
approach may be to sub-class my user types in a third framework? I've  
been putting this off. :-)


T
___
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: difficulties with cross-model relationship

2009-03-20 Thread TW


On Mar 20, 2009, at 11:58 AM, Chuck Hill wrote:



On Mar 20, 2009, at 11:49 AM, TW wrote:

On Mar 20, 2009, at 7:31 AM, Chuck Hill wrote:

On Mar 19, 2009, at 11:38 PM, TW wrote:


All:

I have  an entity called Paper in a new model A  that I would  
like to relate to an entity Employee in an established model B.  
Each of them are in their own framework project but both models  
use the same database. I was hoping to make this a many to many  
and flatten it. I've tried many things tonight to get this to  
work but apparently I'm doing all the wrong things.


Apple's documentation seems to indicate that I should be able to  
resolve type references to any models included in the model  
group. I've added B eomodel to the model group section in my  
EOGenerate file.


I've tried adding B.framework the build path of A.framework. This  
seems to do the right things and add the join table, etc., but  
then model B can't resolve type references to the entity in model  
A. I'm assuming I'm just really confused about how this should  
work but I've reached my limit for banging my head against it.


I'd be really grateful if anyone doing something similar could  
share how they may have gotten this working.



It sounds like you have a circular dependancy: Framework A depends  
on Framework B _and_ Framework B depends on Framework A.  That  
just won't work in Java.  I think you can only do this if the  
relationships are only in one direction or if both models are in  
the same project.



Chuck



Thanks Chuck. I actually did avoid that happening since I've only  
added the existing framework to the new framework (and not the  
reverse). The problem I see on my end is that everything seems to  
work - relationship add, flattening, etc., but then when I clean  
everything the older framework does not retain visibility to the  
types in the newer one.


What you are writing does not seem to be consistent.  If you added  
the existing framework to the new framework then it does not make  
sense to expect the older framework to retain visibility to the  
types in the newer one.  The new can see the existing, not vice  
versa.  Maybe if you describe the problem in specifics with the real  
names that may help to clarify things.


I think that's exactly right. I think I had an expectation that wasn't  
reasonable. :-) The real problem is a can of worms. I work for a  
professional school at UCLA - a campus whose technology is highly  
decentralized. So, one model represents Employee data (what I was  
calling 'B') that I pull from central campus daily. Locally, here in  
our school, we also have an ldap directory, completely separate from  
anything central campus holds. It is specific to our school only.  
These data sources are both modeled and have their own frameworks. I  
have married them programmatically with manual fetches (LDAPPerson -  
Employee) for login to my most important app - a timesheet app. This  
all works great but is highly inflexible for new apps - which brings  
me to where I am. My latest app is for faculty to login only. Believe  
it or not, the campus Employee data does not have any fields that  
specify the type of user. But our local ldap directory does. That's  
problem one.


The faculty project is about their Papers. So, I wanted to relate  
Papers - Employee. A Paper could have multiple faculty  
contributors and a faculty person could have multiple papers. Also, I  
wanted a new model (same database) for this faculty project because it  
doesn't need to know about timesheet stuff. So, I built that model  
(what I was calling 'A') and I was trying to build a relationship to  
the Employee data in 'B'. Since the many to many requires the Employee  
entity to maintain pointers back, it isn't working. But the truth is,  
for this project I'm only interested in faculty - something Employee  
doesn't even know about.


can of worms.

I think I have a problem with approach. I think the best approach  
may be to sub-class my user types in a third framework? I've been  
putting this off. :-)



I am really not sure what you are doing and what you are seeing so  
it is hard to advise you on the best direction to take.


I understand why the approach I was taking won't work. So, maybe you  
can vet the one I'm trying today. I was thinking I need to create a  
framework to relate LDAPPerson and Employee in a single framework and  
create new model there with GenericUser. This GenericUser would then  
wrap both their ldap source and their employee data source in a single  
entity and hold that relationship. It sounds like a lot of overhead  
but maybe the right thing to do. Then I could subclass that user into  
FacultyPerson, StaffPerson, StudentPerson, etc. , maybe even in  
separate frameworks. This sounds like it could put me in a better  
position to achieve what I want.


Tim
UCLA GSEIS

___
Do not post admin requests to the list

Re: difficulties with cross-model relationship

2009-03-20 Thread TW


On Mar 20, 2009, at 1:56 PM, Chuck Hill wrote:



On Mar 20, 2009, at 12:42 PM, TW wrote:

On Mar 20, 2009, at 11:58 AM, Chuck Hill wrote:

On Mar 20, 2009, at 11:49 AM, TW wrote:

On Mar 20, 2009, at 7:31 AM, Chuck Hill wrote:

On Mar 19, 2009, at 11:38 PM, TW wrote:


All:

I have  an entity called Paper in a new model A  that I would  
like to relate to an entity Employee in an established model  
B. Each of them are in their own framework project but both  
models use the same database. I was hoping to make this a many  
to many and flatten it. I've tried many things tonight to get  
this to work but apparently I'm doing all the wrong things.


Apple's documentation seems to indicate that I should be able  
to resolve type references to any models included in the model  
group. I've added B eomodel to the model group section in my  
EOGenerate file.


I've tried adding B.framework the build path of A.framework.  
This seems to do the right things and add the join table, etc.,  
but then model B can't resolve type references to the entity in  
model A. I'm assuming I'm just really confused about how this  
should work but I've reached my limit for banging my head  
against it.


I'd be really grateful if anyone doing something similar could  
share how they may have gotten this working.



It sounds like you have a circular dependancy: Framework A  
depends on Framework B _and_ Framework B depends on Framework  
A.  That just won't work in Java.  I think you can only do this  
if the relationships are only in one direction or if both models  
are in the same project.



Chuck



Thanks Chuck. I actually did avoid that happening since I've only  
added the existing framework to the new framework (and not the  
reverse). The problem I see on my end is that everything seems to  
work - relationship add, flattening, etc., but then when I clean  
everything the older framework does not retain visibility to the  
types in the newer one.


What you are writing does not seem to be consistent.  If you  
added the existing framework to the new framework then it does  
not make sense to expect the older framework to retain visibility  
to the types in the newer one.  The new can see the existing, not  
vice versa.  Maybe if you describe the problem in specifics with  
the real names that may help to clarify things.


I think that's exactly right. I think I had an expectation that  
wasn't reasonable. :-) The real problem is a can of worms. I work  
for a professional school at UCLA - a campus whose technology is  
highly decentralized. So, one model represents Employee data (what  
I was calling 'B') that I pull from central campus daily. Locally,  
here in our school, we also have an ldap directory, completely  
separate from anything central campus holds. It is specific to our  
school only. These data sources are both modeled and have their own  
frameworks. I have married them programmatically with manual  
fetches (LDAPPerson - Employee) for login to my most important  
app - a timesheet app. This all works great but is highly  
inflexible for new apps - which brings me to where I am. My latest  
app is for faculty to login only. Believe it or not, the campus  
Employee data does not have any fields that specify the type of  
user. But our local ldap directory does. That's problem one.


The faculty project is about their Papers. So, I wanted to relate  
Papers - Employee. A Paper could have multiple faculty  
contributors and a faculty person could have multiple papers. Also,  
I wanted a new model (same database) for this faculty project  
because it doesn't need to know about timesheet stuff. So, I built  
that model (what I was calling 'A') and I was trying to build a  
relationship to the Employee data in 'B'. Since the many to many  
requires the Employee entity to maintain pointers back, it isn't  
working. But the truth is, for this project I'm only interested in  
faculty - something Employee doesn't even know about.


can of worms.

I think I have a problem with approach. I think the best approach  
may be to sub-class my user types in a third framework? I've been  
putting this off. :-)



I am really not sure what you are doing and what you are seeing so  
it is hard to advise you on the best direction to take.


I understand why the approach I was taking won't work. So, maybe  
you can vet the one I'm trying today. I was thinking I need to  
create a framework to relate LDAPPerson and Employee in a single  
framework and create new model there with GenericUser. This  
GenericUser would then wrap both their ldap source and their  
employee data source in a single entity and hold that relationship.  
It sounds like a lot of overhead but maybe the right thing to do.  
Then I could subclass that user into FacultyPerson, StaffPerson,  
StudentPerson, etc. , maybe even in separate frameworks. This  
sounds like it could put me in a better position to achieve what I  
want.



I think that is exactly

Re: Eclipse+wolips nightly update failed

2009-03-19 Thread TW

I am also on 3.4.2 but I must've gotten there by an auto update as well.

Tim
UCLA GSEIS

On Mar 18, 2009, at 8:35 PM, Ren, Kevin wrote:


I am in Eclipse 3.4.2, not sure when upgrade from 3.4.1
Maybe this is the reason?


Kevin

-Original Message-
From: Gaastra Dennis - WO Lists [mailto:webobjects_li...@webappz.com]
Sent: Thursday, 19 March 2009 1:43 p.m.
To: WebObjects-Dev Mailing List List
Cc: TW; Ren, Kevin; Mike Schrag
Subject: Re: Eclipse+wolips nightly update failed

We have the same problem here as well.
Is this due to the fact that we are running Eclipse 3.4.2 instead of
3.4.1?

With Kind Regards,

Dennis Gaastra,
Chief Technology Officer,
WEBAPPZ Systems, Inc.



On 18-Mar-09, at 4:26 PM, David Holt wrote:


It happened to me last night as well. I'm stuck at 3.4.5693

David

On 18-Mar-09, at 4:17 PM, TW wrote:

There's been a couple threads about this - this is the first  
response



with an explanation. :-) However, I get this every single time I
check for updates. And the last time I had it happen, I had to
re-install Eclipse to fix it.

Tim
UCLA GSEIS

On Mar 18, 2009, at 3:07 PM, Q wrote:


Restart eclipse. This can happen if the build on the mdimension
server is a newer build than when eclipse last checked and cached
the site.xml from the update url.

On 19/03/2009, at 8:01 AM, Ren, Kevin wrote:



Hi,

I got Eclipse3.4 and WOlips install on Ubuntu, and got update
failed after 3.4.5693

Tried this morning and got this message in eclipse3.4

An error  occurred while collecting items to be installed No
repository found containing: org.objectstyle.wolips/
osgi.bundle/3.4.5697
No repository found containing: org.objectstyle.wolips.ant/
osgi.bundle/3.4.5697
No repository found containing: org.objectstyle.wolips.apieditor/
osgi.bundle/3.4.5697


Sounds like anything related to osgi


Anybody have idea,

Thanks

Kevin



This communication is confidential and may contain privileged
and/or copyright material. If you are not the intended recipient
you must not use, disclose, copy or retain it. If you have  
received



it in error please immediately notify me by return email, delete
the emails and destroy any hard copies. ANZ National Bank Limited
does not guarantee the integrity of this communication, or that it
is free from errors, viruses or interference.

___
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/qdolan 
%40gmai

l.com

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




--
Seeya...Q

Quinton Dolan - qdo...@gmail.com
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



___
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/lists 
%40thetim

my.com

This email sent to li...@thetimmy.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/ 
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:
http://lists.apple.com/mailman/options/webobjects-dev/ 
webobjects_lists

%40webappz.com

This email sent to webobjects_li...@webappz.com




This communication is confidential and may contain privileged and/ 
or copyright material. If you are not the intended recipient you  
must not use, disclose, copy or retain it. If you have received it  
in error please immediately notify me by return email, delete the  
emails and destroy any hard copies. ANZ National Bank Limited does  
not guarantee the integrity of this communication, or that it is  
free from errors, viruses or interference.

___
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/lists%40thetimmy.com

This email sent to li...@thetimmy.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: Eclipse+wolips stable update failed

2009-03-18 Thread TW
There's been a couple threads about this - this is the first response  
with an explanation. :-) However, I get this every single time I check  
for updates. And the last time I had it happen, I had to re-install  
Eclipse to fix it.


Tim
UCLA GSEIS

On Mar 18, 2009, at 3:07 PM, Q wrote:

Restart eclipse. This can happen if the build on the mdimension  
server is a newer build than when eclipse last checked and cached  
the site.xml from the update url.


On 19/03/2009, at 8:01 AM, Ren, Kevin wrote:



Hi,

I got Eclipse3.4 and WOlips install on Ubuntu, and got update  
failed after 3.4.5693


Tried this morning and got this message in eclipse3.4

An error  occurred while collecting items to be installed
 No repository found containing: org.objectstyle.wolips/osgi.bundle/ 
3.4.5697
 No repository found containing: org.objectstyle.wolips.ant/ 
osgi.bundle/3.4.5697
 No repository found containing: org.objectstyle.wolips.apieditor/ 
osgi.bundle/3.4.5697

….

Sounds like anything related to osgi


Anybody have idea,

Thanks

Kevin



This communication is confidential and may contain privileged and/ 
or copyright material. If you are not the intended recipient you  
must not use, disclose, copy or retain it. If you have received it  
in error please immediately notify me by return email, delete the  
emails and destroy any hard copies. ANZ National Bank Limited does  
not guarantee the integrity of this communication, or that it is  
free from errors, viruses or interference.


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

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




--
Seeya...Q

Quinton Dolan - qdo...@gmail.com
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



___
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/lists%40thetimmy.com

This email sent to li...@thetimmy.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: Cannot update WOLips

2009-03-16 Thread TW

Anders

I'm having the same problem as well - probably for a couple weeks now.  
The last time this happened I had to re-install Eclipse. I would  
really be stoked if someone has another solution because I really  
don't want to do that.


Tim
UCLA GSEIS


On Mar 16, 2009, at 2:27 AM, Anders Peterson wrote:

When I try to update WOLips (Help  Software Updates... | Update...)  
I get this error mesage. I got the same mesage when I tried last  
week. The version I have installed is 3.4.5690.


/Anders

An error occurred while collecting items to be installed
No repository found containing: org.objectstyle.wolips/osgi.bundle/ 
3.4.5693
No repository found containing: org.objectstyle.wolips.ant/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.apieditor/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.base.feature/ 
org.eclipse.update.feature/3.4.5693
No repository found containing:  
org.objectstyle.wolips.baseforplugins/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.baseforuiplugins/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.bindings/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.builder/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.componenteditor/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.components/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.datasets/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.debug/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.deployment.ui/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.documentation/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.editors/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eogenerator.core/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eogenerator.jdt/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eogenerator.ui/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.eomodeler/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eomodeler.core/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.eomodeler.eclipse/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.feature/ 
org.eclipse.update.feature/3.4.5693
No repository found containing:  
org.objectstyle.wolips.goodies.core.mac/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.goodies.mac.feature/ 
org.eclipse.update.feature/3.4.5693
No repository found containing:  
org.objectstyle.wolips.goodies.ui.mac/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.htmlpreview/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.jdt/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.launching/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.locate/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.pbserver/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.preferences/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.refactoring/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.ruleeditor/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.targetbuilder/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.team/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.templateengine/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.cayenne/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.commonscollections/osgi.bundle/ 
3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.feature/org.eclipse.update.feature/ 
3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.log4j/osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.thirdparty.velocity/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.tkhtmleditor/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.ui/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.variables/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.wizards/ 
osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.wodclipse/ 
osgi.bundle/3.4.5693
No repository found containing:  
org.objectstyle.wolips.wodclipse.core/osgi.bundle/3.4.5693
No repository found containing: org.objectstyle.wolips.womodeler/ 
osgi.bundle/3.4.5693
No repository found containing: 

Re: Jad?

2009-03-12 Thread TW

On Mar 12, 2009, at 2:35 PM, John Huss wrote:


That's easy with Wonder -

NSArray goats = Animal.SPECIES.eq(goat).filtered(animals)


See, I did learn something from this thread.
___
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


used shibboleth

2009-03-11 Thread TW

All:

Our campus is going to be moving to shibboleth as the preferred sso  
authentication system for web apps. Has anyone here had any experience  
with deploying web objects apps behind this authentication mechanism?  
My understanding is that shibboleth really operates more at the apache/ 
web server layer. Because of that I'm wondering what if anything  
really needs to be done at the app layer.


Any insights, opinions, experiences, etc., would be gladly accepted  
and appreciated.


Tim
Programmer/Analyst III, UCLA GSEIS
___
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: used shibboleth

2009-03-11 Thread TW

On Mar 11, 2009, at 7:37 PM, Chuck Hill wrote:



On Mar 11, 2009, at 6:31 PM, TW wrote:


All:

Our campus is going to be moving to shibboleth as the preferred sso  
authentication system for web apps. Has anyone here had any  
experience with deploying web objects apps behind this  
authentication mechanism? My understanding is that shibboleth  
really operates more at the apache/web server layer. Because of  
that I'm wondering what if anything really needs to be done at the  
app layer.


Any insights, opinions, experiences, etc., would be gladly accepted  
and appreciated.


Tim
Programmer/Analyst III, UCLA GSEIS


Do you need to know who the user is, or just that they are  
authenticated?


Chuck


My apps will definitely need to know who the user is. Apparently, with  
shibboleth you can designate somehow that certain data gets sent back  
to the requesting server - I think in the http headers. So, I'm  
assuming that there's some intention to return something that will  
identify the user since other systems on campus are already using it.  
And I think I've read that campus wants to standardize what the  
returned items are.


If it works as described, is sounds like it has the potential to make  
authentication to my apps easier if we choose to use this instead of  
our LDAP auth. Have you looked at or used shibboleth Chuck?


Tim Worman
Programmer/Analyst III, UCLA GSEIS
___
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: [Wonder-disc] OpenBase / boolean / ERPrototypes

2009-03-09 Thread TW

Ricardo:

I use OpenBase and have boolean columns. I have mine modeled like the  
first boolean prototype below. The prototype sets the valueType to  
String and uses  toString() to convert the java boolean to a 5  
character varchar in the database (for false). The result is that it  
actually writes true or false (String) to the database. So, your  
column type in OpenBase should not be boolean, it  should be varchar, 5.


I haven't used the approach of the intBoolean prototype.

I am not using the WOnder prototypes but Practical WebObjects also  
describes modeling booleans in this fashion - which I like.


Tim
UCLA GSEIS

On Mar 8, 2009, at 3:25 PM, Ricardo J. Parada wrote:


Hi Mike,

Not sure I understood what you mean by flag.  :-)

Anyways, here's the boolean protototype from ERPrototypes as defined  
in EOJDBCOpenBasePrototypes.plist:


{
adaptorValueConversionMethodName = toString;
columnName = ;
externalType = varchar;
factoryMethodArgumentType =  
EOFactoryMethodArgumentIsNSString;

name = boolean;
valueClassName = java.lang.Boolean;
valueFactoryMethodName = valueOf;
valueType = S;
width = 5;
},

and the intBoolean prototype is setup as follows:

{
adaptorValueConversionMethodName = toString;
columnName = ;
externalType = bool;
factoryMethodArgumentType =  
EOFactoryMethodArgumentIsNSString;

name = intBoolean;
valueClassName = NSNumber;
valueFactoryMethodName = valueOf;
valueType = c;
},

I tried both and neither one works for me.  Anybody out there using  
OpenBase 10.0.11 with and boolean properties in your columns and EOs?



I've been trying all kinds of things to get these booleans to  
work...  And I just thought of one which might work.  I'll change  
the type in openbase for those columns back to integer type.  Then  
I'll use the intBoolean prototype from ERPrototypes.  I assume  
that's what the intBoolean prototype is for: to have a boolean in  
your EO stored as an integer in the database.  Right?





On Mar 8, 2009, at 10:20 AM, Mike Schrag wrote:

boolean in erp = varchar, not boolean, intBoolean in erp =  
number, flag = probably what OB is calling boolean, but you'd  
have to check if the OB variant of erp declares this properly.


ms

On Mar 8, 2009, at 3:06 AM, Ricardo J. Parada wrote:


Hi All,

There seems to be something wrong with booleans when using  
OpenBase and ERPrototypes.


In OpenBaseManager the column type for my column says boolean:

Picture 2.png

In openisql (command line) I can query like this:

select count(*) from cliente where suspendido = true

of like this:

select count(*) from cliente where suspendido = 1

In entity modeler, if I configure my attribute using the boolean  
prototype from ERPrototypes as shown below, then the queries don't  
return the right number of rows.  The update statements generated  
by EOF don't work either (even though they look right).


If I model my attribute as an integer then the queries work okay  
and the update statements issued by EOF work too.  By I don't like  
having an Integer in my accessor methods in my EO for a boolean  
column.  I want to use boolean.


Looking at the screenshot below, does this look like the boolean  
prototype is setting the fields correctly for a boolean column in  
OpenBase? Anybody wants to guess?  Anybody using booleans in  
OpenBase and ERPrototypes?



Picture 1.png

--
Open Source Business Conference (OSBC), March 24-25, 2009, San  
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the  
Enterprise
-Strategies to boost innovation and cut costs with open source  
participation
-Receive a $600 discount off the registration fee with the source  
code: SFAD

http://p.sf.net/sfu/XcvMzF8H___
Wonder-disc mailing list
wonder-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San  
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the  
Enterprise
-Strategies to boost innovation and cut costs with open source  
participation
-Receive a $600 discount off the registration fee with the source  
code: SFAD

http://p.sf.net/sfu/XcvMzF8H___
Wonder-disc mailing list
wonder-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc


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

question on security scanning

2009-02-26 Thread TW

All:

I just had a meeting regarding one of my apps today with some central  
IT types at our university. One of the questions that was asked of me  
(for the first time actually) was whether I had run a security scanner  
test the application. While I'm not so naive as to think there can't  
be any security issues, I had always felt that the many levels of  
abstraction in WO/EOF naturally insulated me from some of these  
considerations.


For background, this central IT group is heavily microsoft leaning -  
so they kind of live in a different world where security is concerned  
and think they believe that the entire world of computing has the same  
architectural considerations they do. Their question was obviously out  
of concern that an attack could be crafted against the app to extract  
data from the database. It's difficult for me to imagine how this  
would be possible with WO/EOF but I may have naively looked past this.


To get to the point, I'd be interested in hearing from developers on  
list about whether you have scans performed against your apps. Yes or  
no, what were the considerations that drove the choice.


Tim Worman
UCLA GSEIS
___
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: ADC has tutorial on WebObjects using WOLips

2009-02-23 Thread TW

On Feb 23, 2009, at 11:06 AM, Mike Schrag wrote:

Well, let's see. They had a WWDC in which they showed Eclipse and  
WOLips being used to develop WebObjects apps. That was in 2006. So,  
getting the information up as documentation Yeah, that's about  
the speed of it.


Apple's documentation is good to have on hand, but never hold your  
breath for updates and make sure you keep looking at other places  
for documentation.
In Apple's defense here, I'm not sure I've ever seen them write  
documentation for an open source 3rd party product before ... So  
it's actually kind of a cool step.


ms


+1

I'll definitely choose to look at this as a glass half full.

Tim
___
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: Using MS SQL Server with WO

2009-02-18 Thread TW

Gustavo:

I think there's probably information readily available regarding this.  
Yes, you can connect to MS SQL Server. In general, if there's a JDBC  
driver for a database, you can use it with WO.


Tim

On Feb 18, 2009, at 12:53 PM, Gustavo Pizano wrote:

Hello, today a friend asked me if its possible to make a  
WebApplication, and he told me that his data server its a MS SQL  
server, I just wanted to know if its possible to connect EO's on  
that Server?



Thanks
Gustavo


___
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/lists%40thetimmy.com

This email sent to li...@thetimmy.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: best practices - .settings and version control

2009-02-09 Thread TW

On Feb 9, 2009, at 1:39 PM, Lachlan Deck wrote:


On 10/02/2009, at 6:33 AM, Chuck Hill wrote:


On Feb 2, 2009, at 7:03 PM, TW wrote:

When working with Eclipse/WOLips and version control what is  
considered best practice for the proj-dir/.settings/* files? I've  
had my .settings folder under version control and it seems like it  
has been problematic for me. I'm just learning about patches in  
git and it seems like frequent changes to  
org.eclipse.core.resources.prefs really get in the way of creating  
useful patches.


I realize most don't use git but I guess I'm wondering how  
important it is to have files such as .settings/ 
org.eclipse.core.resources.prefs under version control.


Guess this one got lost.  :-)

In a team environment, I'd say these are vital to maintaining  
standards and preventing undesired changes.  I don't see why there  
would / should be frequent changes.


Well the annoying thing is whenever someone creates a component or  
somehow triggers this file getting updated you get a conflict  
because wolips is always inserting a timestamp at the top of the  
file which differs from someone else's on the team (which is  
unnecessary anyway as the file has it's own mod dates) in addition  
to specifying the encoding of the component as UTF-8. I don't know  
why they all need to be listed as UTF-8 when the parent already is?  
Or is there some other setting that needs touching?


That's kind of what I'm seeing. At this point I'm a single developer  
(works in so many ways) and I notice that when I switch between  
branches where this file may have been touched I get conflicts I don't  
need or want. For giggles, I actually deleted the .settings directory  
from one version of a project and that had no ill effects on the  
project. I can always restore that version but I was interested to see  
what would happen. Maybe someone knows of some impending doom from  
deleting it?


T
___
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: best practices - .settings and version control

2009-02-09 Thread TW

On Feb 9, 2009, at 1:59 PM, Chuck Hill wrote:



On Feb 9, 2009, at 1:57 PM, TW wrote:


On Feb 9, 2009, at 1:39 PM, Lachlan Deck wrote:


On 10/02/2009, at 6:33 AM, Chuck Hill wrote:


On Feb 2, 2009, at 7:03 PM, TW wrote:

When working with Eclipse/WOLips and version control what is  
considered best practice for the proj-dir/.settings/* files?  
I've had my .settings folder under version control and it seems  
like it has been problematic for me. I'm just learning about  
patches in git and it seems like frequent changes to  
org.eclipse.core.resources.prefs really get in the way of  
creating useful patches.


I realize most don't use git but I guess I'm wondering how  
important it is to have files such as .settings/ 
org.eclipse.core.resources.prefs under version control.


Guess this one got lost.  :-)

In a team environment, I'd say these are vital to maintaining  
standards and preventing undesired changes.  I don't see why  
there would / should be frequent changes.


Well the annoying thing is whenever someone creates a component or  
somehow triggers this file getting updated you get a conflict  
because wolips is always inserting a timestamp at the top of the  
file which differs from someone else's on the team (which is  
unnecessary anyway as the file has it's own mod dates) in addition  
to specifying the encoding of the component as UTF-8. I don't know  
why they all need to be listed as UTF-8 when the parent already  
is? Or is there some other setting that needs touching?


That's kind of what I'm seeing. At this point I'm a single  
developer (works in so many ways) and I notice that when I switch  
between branches where this file may have been touched I get  
conflicts I don't need or want. For giggles, I actually deleted  
the .settings directory from one version of a project and that had  
no ill effects on the project. I can always restore that version  
but I was interested to see what would happen. Maybe someone knows  
of some impending doom from deleting it?



There are (or can be) other files in that directory.  Perhaps you  
can just ignore org.eclipse.core.resources.prefs?


Yeah, I can definitely do that. In one project that file has a full  
list of components I've ever created for that project along with the  
encoding of each file - like Lachlan said. In another project it only  
has:


#Tue Oct 21 00:28:59 PDT 2008
eclipse.preferences.version=1
encoding/Components=UTF-8

Maybe this is because WOLips has been updated and is less dependent on  
something here? I would still be interested in hearing how important  
this is. Maybe this should be on the woproject-dev list.


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


best practices - .settings and version control

2009-02-02 Thread TW

All:

When working with Eclipse/WOLips and version control what is  
considered best practice for the proj-dir/.settings/* files? I've had  
my .settings folder under version control and it seems like it has  
been problematic for me. I'm just learning about patches in git and it  
seems like frequent changes to org.eclipse.core.resources.prefs really  
get in the way of creating useful patches.


I realize most don't use git but I guess I'm wondering how important  
it is to have files such as .settings/org.eclipse.core.resources.prefs  
under version control.


Tim
UCLA GSEIS
___
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: WO 5.3 or 5.4

2008-12-23 Thread TW

On Dec 23, 2008, at 7:55 AM, Pascal Robert wrote:



Le 08-12-23 à 10:50, Francesco Romano a écrit :


Hi... I made a little mistake...
I'm learning WO and developing an application. I use Leopard.
The computer where I'll deploy the app use Tiger... (so I think it  
can't have WO 5.4)


If Java 1.5 is available on the Tiger box, you can use 5.4. Embed  
the WO frameworks in your app, this way you won't have to install  
5.4 on the Tiger box.


You can also use the instructions from this post to make it possible  
to easily switch your dev environment between WO 5.3 and WO 5.4.


http://lists.apple.com/archives/Webobjects-dev/2007/Oct/msg00357.html



What can I do?
Is there a way to use WO 5.4 on Tiger?
If no.. How can I change my code (and develop for WO 5.3) ?

Francesco


PS:
I can also install Leopard on the iMac.. but.. I don't think this  
can be a good idea.. the Adobe Creative Suite which is in use (the  
one with Photoshop 7) does not work non Leopard..


Tim ___
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: [OT] New WO Years Resolutions.

2008-12-19 Thread TW
Geez, if the two apps that sprung me into WO-dom three years ago would  
just stop growing, I'd like to do all the same ones. I haven't done a  
thing on that list either. Glad to be part of the WO community though.


T Worman
UCLA

On Dec 19, 2008, at 7:03 PM, Q wrote:


This is my list of new WO years resolutions currently:

- Watch all the WOWODC videos
- Use Click-To-Open / Click-To-Debug more
- Use JavaRebel more
- Learn Direct 2 Web
- Start using ERSelenium
- Check out using JavaClient / JBND
- Check out using GWT + WO
- Check out using JavaFX + WO
- Check out using SproutCore + WO
- Contribute more to WOLips  the WO Wiki
- Contribute more to Wonder
- Complete and release my unfinished WO frameworks
- Write more documentation

What's on yours?

--
Seeya...Q

Quinton Dolan - qdo...@gmail.com
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



___
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/lists%40thetimmy.com

This email sent to li...@thetimmy.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: New WOLips is Coming

2008-12-11 Thread TW
Also if project.name is defined in the build.properties, then you  
don't have to edit the build.xml's that u copy over. Maybe just  
edit the first one like this for the sake of clarity:
I thought the newer builds set project.name for you   
anyone have an old project and want to test it for me?


I upgraded a framework project on Monday. I created a new template  
project to produce the latest build.xml and woproject files to copy  
into the old project. After I did that the project would build without  
a name as .framework. I had to manually edit build.properties to get  
it to insert the project name.


Tim
___
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: New WOLips is Coming

2008-12-11 Thread TW

On Dec 11, 2008, at 9:15 AM, Mike Schrag wrote:

Also if project.name is defined in the build.properties, then  
you don't have to edit the build.xml's that u copy over. Maybe  
just edit the first one like this for the sake of clarity:
I thought the newer builds set project.name for you   
anyone have an old project and want to test it for me?
I upgraded a framework project on Monday. I created a new template  
project to produce the latest build.xml and woproject files to copy  
into the old project. After I did that the project would build  
without a name as .framework. I had to manually edit  
build.properties to get it to insert the project name.

Well ... there you go ... I'll fix this before stable.


I think I have another framework that hasn't been upgraded if you want  
me to test this again.


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


multiple restricting qualifiers

2008-10-23 Thread TW

All:

Is it possible set stack restricting qualifiers when using  
inheritance in Entity Modeler. For instance I would like to have two  
qualifiers;


appName=mywonderfulapp
type=ptr

Thanks,
Tim

-
Timothy Worman
Programmer/Analyst - Database Administrator
Graduate School of Education and Information Studies
University of California Los Angeles

___
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 [EMAIL PROTECTED]


Re: multiple restricting qualifiers

2008-10-23 Thread TW
Thanks Mike. Yeah, I was having a lot of difficulty finding  
documentation about the syntax for this and I couldn't find any  
examples where there was  1 qualifier. Another solution in my  
situation was to create two child entities (with one of the qualifiers  
each) - which in this particular case actually might represent the  
intention even better.


Thanks
Tim

On Oct 23, 2008, at 5:06 AM, Mike Schrag wrote:

Is it possible set stack restricting qualifiers when using  
inheritance in Entity Modeler. For instance I would like to have  
two qualifiers;


appName=mywonderfulapp
type=ptr
Not sure exactly what you mean by stacking but it's just a  
qualifier string, so you can put:


appName=mywonderfulapp and type=ptr

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/lists%40thetimmy.com

This email sent to [EMAIL PROTECTED]


___
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 [EMAIL PROTECTED]


Re: help - subcomponent won't update

2008-10-22 Thread TW

On Oct 22, 2008, at 7:44 PM, Chuck Hill wrote:


On Oct 21, 2008, at 3:13 PM, TW wrote:


Hello all:

I have a WOComponent (not stateless at this time) that I have  
embedded into a master page. The embedded component has an API  
entry requiring jobItem. My master component has a binding to  
this using selectedObject(). selectedObject() is updated when  
selecting an item from a DisplayGroup via WOHyperlink (although  
I've also tried a WOSubmitButton in case it was necessary). I've  
put messages in the code and I can confirm setSelectedObject() is  
happening as well as DisplayGroup.setSelectedObject().


The problem I'm having is that when a new job is selected it is not  
pushed to the child component via the binding and I'm not sure why.  
The child component continues to display the data from the previous  
selectedObject() through the rest of the session. I've even tried  
to set synchronizesVariablesWithBindings() to return true in the  
child and attempted to use more standard ivars instead of  
valueForBinding. The result is the same. At this point I have no  
idea why the selectedObject() isn't being passed.


This would probably work better as a stateless component but the  
child component also has a child component of its own (for  
searching) and I couldn't get the behavior right with reset()  
happening at every point in the RR loop. So, I punted.


Am I overlooking something huge?



Need more information.  Can you post the code of the component?

Chuck


Hey Chuck! Thanks for hittin' me back. I was able to get the results I  
wanted to by overriding some of the r/r loop methods. In one  
subcomponent I used awake() and in another appendToResponse(). For now  
this seems to be doing the trick. I should've looked around a bit more  
before I started whining.


Tim
-
Timothy Worman
Programmer/Analyst - Database Administrator
Graduate School of Education and Information Studies
University of California Los Angeles

___
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 [EMAIL PROTECTED]


help - subcomponent won't update

2008-10-21 Thread TW

Hello all:

I have a WOComponent (not stateless at this time) that I have embedded  
into a master page. The embedded component has an API entry requiring  
jobItem. My master component has a binding to this using  
selectedObject(). selectedObject() is updated when selecting an item  
from a DisplayGroup via WOHyperlink (although I've also tried a  
WOSubmitButton in case it was necessary). I've put messages in the  
code and I can confirm setSelectedObject() is happening as well as  
DisplayGroup.setSelectedObject().


The problem I'm having is that when a new job is selected it is not  
pushed to the child component via the binding and I'm not sure why.  
The child component continues to display the data from the previous  
selectedObject() through the rest of the session. I've even tried to  
set synchronizesVariablesWithBindings() to return true in the child  
and attempted to use more standard ivars instead of valueForBinding.  
The result is the same. At this point I have no idea why the  
selectedObject() isn't being passed.


This would probably work better as a stateless component but the child  
component also has a child component of its own (for searching) and I  
couldn't get the behavior right with reset() happening at every point  
in the RR loop. So, I punted.


Am I overlooking something huge?

Tim
-
Timothy Worman
Programmer/Analyst - Database Administrator
Graduate School of Education and Information Studies
University of California Los Angeles

___
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 [EMAIL PROTECTED]


Re: updating WO

2008-10-09 Thread TW

Sorry, responding to myself -

for posterity, delete your Eclipse preferences. In my case they were  
the problem. I guess I'll have to reset them all.


T

On Oct 8, 2008, at 10:32 PM, TW wrote:


Hi all:

I just updated to 3.4.1 and I still am having this error when trying  
to update WOLips. Does anyone know what the cause of this issue is?


Tim

On Oct 3, 2008, at 10:17 AM, Henrique Prange wrote:


Hi Theodore,

Do you mean updating WOLips? Which version of Eclipse?

I had the same problem with Eclipse 3.4.1 two days ago. I tried  
last night and it worked. The problem also happened with other plug- 
ins, so it doesn't seem to be a problem with WOLips update site.


Cheers,

Henrique

Theodore Petrosky wrote:




I can't seem to get WO to update. I am getting this error...  
anyone have an idea why?

No repository found at http://webobjects.mdimension.com/wolips/nightly
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/lists%40thetimmy.com

This email sent to [EMAIL PROTECTED]


___
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 [EMAIL PROTECTED]


Re: updating WO

2008-10-08 Thread TW

Hi all:

I just updated to 3.4.1 and I still am having this error when trying  
to update WOLips. Does anyone know what the cause of this issue is?


Tim

On Oct 3, 2008, at 10:17 AM, Henrique Prange wrote:


Hi Theodore,

Do you mean updating WOLips? Which version of Eclipse?

I had the same problem with Eclipse 3.4.1 two days ago. I tried last  
night and it worked. The problem also happened with other plug-ins,  
so it doesn't seem to be a problem with WOLips update site.


Cheers,

Henrique

Theodore Petrosky wrote:




I can't seem to get WO to update. I am getting this error... anyone  
have an idea why?
No repository found at http://webobjects.mdimension.com/wolips/ 
nightly

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 [EMAIL PROTECTED]


SQL Server Driver and Classpath problem

2008-09-05 Thread TW

All:

I'm stumped. I have a working model and app that accesses a remote db  
server running SQL Server 2000. This service is being upgraded to  
SQLServer 2005 so I have test server to, um, test against.


The drivers for the old server are embedded in my model and plist  
containing the data for the connection dictionary is in by the app  
Resources. This all works great for connecting to the old server.


Testing the new server: I am removing the old drivers from my model  
and embedding the new SQLServer 2005 driver in the model. To do this  
I'm dropping the jar into Libraries and then selecting Add to Build  
Path. To remove the old one's I'm using Remove from Build Path and  
then deleting them from the project. Then, in my app, I change the url  
for my connection dictionary to the url to connect to the new server  
-- jdbc:sqlserver://server.ucla.edu:1433;DatabaseName=db


Running a query against the connection gives me this error:
JDBC connection failed for  
driver :'com.microsoft.jdbc.sqlserver.SQLServerDriver'. Driver not  
found in Java Runtime!


I've tried putting the driver everywhere including adding it to the  
app itself and also /Library/Java/Extensions and /Library/WebObjects/ 
Extensions -- just to be thorough. When I do make changes in Eclipse  
the .classpath file looks to be appropriately updated and sqljdbc.jar  
is always in the build path.


I just can't for the life of me figure out why I'm having so much  
difficulty with this. So, I need help to save my sanity.


Tim
___
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 [EMAIL PROTECTED]


Re: SQL Server Driver and Classpath problem

2008-09-05 Thread TW

Peter:

That was it. I never would have found that because for SQL Server 2000  
I never had to populate a value for driver in my connection  
dictionary. It always worked just with the url. I don't really  
understand why that changed or, better, why the adaptor was looking  
for another driver signature but I am just glad it worked and saved my  
sanity.


Thanks much for your help!!

Tim

On Sep 4, 2008, at 11:43 PM, Peter Vandoros wrote:


Hi Tim,

If the version of the JDBC driver supports SQL Server 2005, then the  
driver class in the eomodel connection dictionary should be  
com.microsoft.sqlserver.jdbc.SQLServerDriver not  
com.microsoft.jdbc.sqlserver.SQLServerDriver as the error states  
below.




Running a query against the connection gives me this error:
JDBC connection failed for  
driver :'com.microsoft.jdbc.sqlserver.SQLServerDriver'. Driver not  
found in Java Runtime!


Regards

Peter Vandoros
Software Engineer
Etech Group Pty Ltd
Level 3/21 Victoria St
Melbourne VIC 3000
Australia

Ph: +61 3 9639 9677
Fax: +61 3 9639 9577
--
IMPORTANT: This e-mail message and any attachments are confidential  
and may be privileged. If received in error, please reply to this  
message and destroy all copies and any attachments. You should check  
this message and any attachments for viruses or defects. Our  
liability is limited to resupplying any affected message or  
attachments. For more information about Etech Group, please visit us  
at http://www.etechgroup.com.au.







___
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 [EMAIL PROTECTED]