I have a table with an auto-incrementing ID with a datatype of BIGINT(20). When SeamGen using 2.0.0.CR2 generates this entity it gives the ID a datatype of Long.
When I try to persist an instance of this entity I get an InvalidStateException.
If I change the entity setting the datatype of the ID to long (primitive) I have no problems.
Does anyone know what's up with that?
Cheers,
Damian.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098234#4098234
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098234
"nickarls" wrote : Could there be a non-required outjection somewhere that could overwrite it before the call?
The applicationUser is @Out-jected only once, that is in the authenticator class, which has EVENT-scope and should not be called.
@Name("authenticator")
| @Scope(ScopeType.EVENT)
| public class Authenticator implements Serializable {
|
| @Out(scope=ScopeType.SESSION)
| private ApplicationUser applicationUser;
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098225#4098225
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098225