As the victim, you hae a right to be notified and attend all hearings. If he pleads guilty, you have a right to talk to the court and you can tel the judge you do not want him to go to jail. The Judge does not have to sentence him in accordance with your wishes, but should at least consier your wishes. YOur boyfriend may want to retain the srvices of an attorney. There are alternatives to pelading gulty that he should explore.
Go to the magistrates office and fill out a victims desire not to prosecute form and see if the case will be dropped. If the prosecution does not drop it then follow the advice that was previously given. If this is a magistrates court level case, then usually payment of a fine will keep him from going to jail if he is found guilty.
This answer is for general advice and does not create an attorney client relationship with James Mosteller or the Mosteller Law Firm LLC.