Saves the provided Category to the data source.
@param category The Category to save to the data source
@throws IllegalStateException Thrown when the EntityManager is closed
@throws NullPointerException Thrown when the EntityManager or Category isnull
@throws IllegalArgumentException Thrown when the Category exists in thedata source or the Category name is not set.
@return The Primary Key for the new Category
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.