[hibernate-issues] [Hibernate-JIRA] Created: (ANN-693) org.hibernate.engine.query.sql.NativeSQLQueryScalarReturn not serializable

Eugeniusz Neugebauer (JIRA) noreply at atlassian.com
Wed Jan 23 10:46:55 EST 2008


org.hibernate.engine.query.sql.NativeSQLQueryScalarReturn not serializable
--------------------------------------------------------------------------

                 Key: ANN-693
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-693
             Project: Hibernate Annotations
          Issue Type: Bug
         Environment: jboss 4.2.2, HB 3.2.5
            Reporter: Eugeniusz Neugebauer


In my domain class I've NamedNativeQuery:

@SqlResultSetMappings({@SqlResultSetMapping(name = "uir_suma_zbiorow_result", columns = @ColumnResult(name = "result"))})
@NamedNativeQueries({@NamedNativeQuery(name = "uir.uir_suma_zbiorow", query = "select uir_suma_zbiorow(:var1, :var2, :var3) as result", resultSetMapping = "uir_suma_zbiorow_result")})

During build session factory on jboss i have Exception:

Caused by: javax.naming.CommunicationException [Root exception is java.io.NotSerializableException: org.hibernate.engine.query.sql.NativeSQLQueryScalarReturn]
        at org.jnp.interfaces.NamingContext.bind(NamingContext.java:618)
        at org.jnp.interfaces.NamingContext.bind(NamingContext.java:552)
        at org.jboss.util.naming.Util.bind(Util.java:102)
        at org.jboss.util.naming.Util.bind(Util.java:89)
        at pl.computerland.syriusz.std.hibernate.jmx.Hibernate2.bind(Hibernate2.java:429)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list