hibernate+mysql for IP management.