https://kotlinlang.org logo
#announcements
Title
# announcements
a

andrewoma

06/04/2017, 6:55 AM
@ramsrib Without looking at it, a likely candidate would be kotlin classes being final by default preventing the creation of a proxy
r

ramsrib

06/04/2017, 6:56 AM
andrewoma: this is the exact line:
Copy code
val userAction = UnitOfWorkAwareProxyFactory(hibernate).create(UserAction::class.java, SessionFactory::class.java, sessionFactory)
        userAction.fetchUsers()
I already added
open
in the UserAction class
a

andrewoma

06/04/2017, 7:01 AM
@ramsrib Try opening the function fetchUsers as well
r

ramsrib

06/04/2017, 7:18 PM
@andrewoma OMG!.. it worked!..
@andrewoma thanks alot!!.. you saved my day.
2 Views