Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when using JpaStorageProvider #51

Closed
Fiurgeist opened this issue May 18, 2015 · 7 comments
Closed

Exception when using JpaStorageProvider #51

Fiurgeist opened this issue May 18, 2015 · 7 comments

Comments

@Fiurgeist
Copy link

Hi,
I switched my little test project to MySQL and get now the following exception

com.ea.orbit.exception.UncheckedException: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: Problem compiling [select s from State s where s.stateId=:stateId].

coming from

c.ea.orbit.actors.runtime.Execution - Error reading actor state for: com.ea.orbit.actors.runtime.ReminderControllerFactory$ReminderControllerReference

because the ReminderController has a state as inner class (and no annotation), and that is not supported by the implementation of JpaStorageProvider according to your documentation.
Not sure if there are other Orbit internal actors with state, but that's the one I found.

@quilombodigital
Copy link

Hi,

Since I did the initial implementation of the JPAProvider, I´ll take a look at this at night.

Thanks

@JoeHegarty
Copy link
Member

Thanks guys. Let us know if you need us to take a look.
It's a holiday in Canada today, but we'll be back in the office tomorrow.

@JoeHegarty
Copy link
Member

This should be fixed in PR #52 thanks to @quilombodigital.
It will be included in the next official release.

@quilombodigital
Copy link

Made the PR. :)

@quilombodigital
Copy link

Heh.. You´re faster than me Joe. :)

@Fiurgeist
Copy link
Author

nice^^

@JoeHegarty
Copy link
Member

This is resolved in the 0.3.0 release.
https://github.com/electronicarts/orbit/releases/tag/v0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants