Hi, this is Atsushi Kumazaki in Japan.

I'm not good at English. So there may be some mistakes.

I'm trying to build  the service repository with juddi.
But, when I save N'th service like the below code fragment,

  BusinessService bs = new BusinessService();
  Name name = new Name();
  name.setValue(service_name);
  bs.getName().add(name);
  bs.setBusinessKey(business_key);
  bs.setBindingTemplates(bts);

  SaveService ss = new SaveService();
  ss.getBusinessService().add(bs);
  ss.setAuthInfo(auth_token.getAuthInfo());

  publish.saveService(ss);

I see SELECT SQL statements like this N times.

  SELECT t0.id, t0.entity_key, t0.lang_code, t0.name FROM j3_service_name t0
  WHERE t0.entity_key = $1 ORDER BY t0.id ASC

Saving many services (more than 2000) causes a long time processing.

How can I avoid this situations.

-- 
Atsushi Kumazaki
[email protected]

Reply via email to