212213214215216217218219220221222
// Find or create the publisher. try { publisher = publisherHome.findByName(publisherName); } catch (FinderException e) { // Ignore, means that no publisher with the given name already exists. }
265266267268269270271272273274275
IPublisherHome publisherHome = getPublisherHome(); try { publisher = publisherHome.findByName(publisherName); } catch (FinderException e) { // Ignore, means we need to create the Publisher }
253254255256257258259260261262263
306307308309310311312313314315316
202203204205206207208209210211212
259260261262263264265266267268269
252253254255256257258259260261262
// Find or create the publisher. try { publisher = publisherHome.findByName(publisherName); } catch (FinderException e) { // Ignore, means that no publisher with the given name already // exists.
310311312313314315316317318319320