openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fay Wang (JIRA)" <>
Subject [jira] Created: (OPENJPA-1041) OrderBy on nested embeddables is not working
Date Wed, 15 Apr 2009 23:23:15 GMT
OrderBy on nested embeddables is not working

                 Key: OPENJPA-1041
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 2.0.0
            Reporter: Fay Wang
            Assignee: Fay Wang
             Fix For: 2.0.0

Exception in thread "main" <openjpa-0.0.0-rnull fatal user error> org.apache.openjpa.util.MetaDataException:
Cannot order "spec_10_1_35_Ex3.Person_10_1_35_3.residences" on "", because that
is not a persistent field in the related type.
	at org.apache.openjpa.meta.MetaDataRepository.newOrder(
	at org.apache.openjpa.meta.FieldMetaData.getOrders(
	at org.apache.openjpa.jdbc.meta.strats.StoreCollectionFieldStrategy.selectEager(
	at org.apache.openjpa.jdbc.meta.strats.StoreCollectionFieldStrategy.selectEagerJoin(
	at org.apache.openjpa.jdbc.meta.FieldMapping.selectEagerJoin(
	at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.load(
	at org.apache.openjpa.kernel.DelegatingStoreManager.load(
	at org.apache.openjpa.kernel.ROPStoreManager.load(
	at org.apache.openjpa.kernel.StateManagerImpl.loadFields(
	at org.apache.openjpa.kernel.StateManagerImpl.loadField(
	at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectField(
	at org.apache.openjpa.kernel.StateManagerImpl.fetchField(
	at org.apache.openjpa.kernel.StateManagerImpl.fetch(
	at org.apache.openjpa.enhance.RedefinitionHelper$1.invoke(
	at $Proxy11.size(Unknown Source)
	at spec_10_1_35_Ex3.Test_10_1_35_Ex3.findObj(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message