Created
January 23, 2022 15:49
-
-
Save evrentan/7c955906814c34ea0c1e0fc921ee9c36 to your computer and use it in GitHub Desktop.
Javadoc Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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