-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
You have to unproxy your fx.object so that your list of objects to choose from will match type. Right now your fx.object is of type xxxx$$javassist and your list of objects for the combobox are of type xxxx. So the solution is to unproxy it.
Call this to unproxy it (replace xxxx with your type):
Object unproxied = ((HibernateProxy) o).getHibernateLazyInitializer().getImplementation()
2 | No.2 Revision |
You have to unproxy your fx.object so that your list of objects to choose from will match type. Right now your fx.object is of type xxxx$$javassist and your list of objects for the combobox are of type xxxx. So the solution is to unproxy it.
Call this to unproxy it (replace xxxx with your type):it:
Object unproxied = ((HibernateProxy) o).getHibernateLazyInitializer().getImplementation()