[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5818) Malformed exception message

Archie Cobbs (JIRA) noreply at atlassian.com
Tue Jan 4 16:10:05 EST 2011


Malformed exception message
---------------------------

                 Key: HHH-5818
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5818
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.0
            Reporter: Archie Cobbs
            Priority: Trivial


I happened to run across this exception:
{noformat}
org.hibernate.exception.SQLGrammarException: could not collection element by index
	org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
	org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	org.hibernate.loader.Loader.loadEntity(Loader.java:2084)
	org.hibernate.loader.entity.CollectionElementLoader.loadElement(CollectionElementLoader.java:94)
	org.hibernate.persister.collection.OneToManyPersister.getElementByIndex(OneToManyPersister.java:385)
	org.hibernate.collection.AbstractPersistentCollection.readElementByIndex(AbstractPersistentCollection.java:183)
	org.hibernate.collection.PersistentMap.get(PersistentMap.java:169)
        ...
{noformat}

The exception message "could not collection element by index" makes no sense and should be clarified.


-- 
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