}
// Get query instance
- Query query = this.getEntityManager().createNamedQuery("FindAddressbookById");
+ Query query = this.getEntityManager().createNamedQuery("FindAddressbookById"); //NOI18N
// Set parameter
- query.setParameter("id", addressbookId);
+ query.setParameter("id", addressbookId); //NOI18N
// Default is not valid
boolean isValid = false;
isValid = true;
} catch (final NoResultException ex) {
// Debug log only, maybe out-dated link followed
- this.getLoggerBeanLocal().logDebug(MessageFormat.format("isAddressbookIdUsed: addressbookId={0} is not valid: {1}", addressbookId, ex));
+ this.getLoggerBeanLocal().logDebug(MessageFormat.format("isAddressbookIdUsed: addressbookId={0} is not valid: {1}", addressbookId, ex)); //NOI18N
}
// Return result