Well, I may be missing something basic (probably am...) but the following patch makes JAXR happy...

Index: JDBCDataStore.java
===================================================================
RCS file: /home/cvspublic/ws-juddi/src/java/org/apache/juddi/datastore/jdbc/ JDBCDataStore.java,v
retrieving revision 1.9
diff -r1.9 JDBCDataStore.java
460a461,467
>
> String serviceKey = service.getServiceKey();
>
> if ((serviceKey == null) || (serviceKey.length() == 0)) {
> service.setServiceKey(uuidgen.uuidgen());
> }
>
462d468
< service.setServiceKey(uuidgen.uuidgen());



Do you want this here or in JIRA?

On Feb 12, 2005, at 2:41 PM, Geir Magnusson Jr wrote:

I see why.

In JDBCDataStore, you don't care if the service already has a key when saving the business, you create a new one for it. I assume that's a bug, because you probably want to check if it's existing and not do anything if so?

I'll fix, test and send a patch.


--
Geir Magnusson Jr                                  +1-203-665-6437
[EMAIL PROTECTED]



Reply via email to