KRACOEUS-7308: JPA work for budget

Yeah, I agree. I remember us having to create lot of workarounds in OJB to make it return the right class and hopefully we will not have to do these types of hacks in JPA too. But if this is for the time being then OK but we should atleast jira this so it gets cleaned up before release. I don't think we will ever get a chance to clean this otherwise. With data migration and what not.