Skip to content

Instantly share code, notes, and snippets.

@evrentan
Created January 23, 2022 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evrentan/7c955906814c34ea0c1e0fc921ee9c36 to your computer and use it in GitHub Desktop.
Save evrentan/7c955906814c34ea0c1e0fc921ee9c36 to your computer and use it in GitHub Desktop.
Javadoc Example
/**
* create a customer instance in the database
*
* @param customer customer to be created. Please, see the {@link evrentan.examples.springbootprojectexample.dto.Customer} class for details.
* @return Customer. Please, see the {@link evrentan.examples.springbootprojectexample.dto.Customer} class for details.
*
* @author <a href="https://github.com/evrentan">Evren Tan</a>
* @since 1.0.0
*/
@Override
@Transactional(propagation = Propagation.REQUIRED)
public Customer createCustomer(Customer customer) {
return this.save(customer);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment