openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Hillmann" <ed.hillm...@gmail.com>
Subject org.apache.openjpa.persistence.ArgumentException?
Date Mon, 25 Jun 2007 03:38:18 GMT
I'm attempting to try some existing JPA code (currently using TopLink)
with OpenJPA.  I think I've got everything set up, but when I run some
test cases, I get the following error:

Exception in thread "main" <0.9.7-incubating fatal user error>
org.apache.openjpa.persistence.ArgumentException: The type "class
com.intecbilling.replib.cache.CacheProperty" has not been enhanced.
    at org.apache.openjpa.meta.ClassMetaData.resolveMeta(ClassMetaData.java:1606)
    at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1580)
    at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:659)
    at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:559)
    at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:484)
    at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:288)
    at org.apache.openjpa.kernel.BrokerImpl.newObjectId(BrokerImpl.java:1086)
    at org.apache.openjpa.kernel.DelegatingBroker.newObjectId(DelegatingBroker.java:257)
    at org.apache.openjpa.persistence.EntityManagerImpl.find(EntityManagerImpl.java:348)
    at com.intecbilling.replib.cache.CacheService.findPropertyByName(CacheService.java:117)
    at com.intecbilling.replib.cache.Cache.getProperty(Cache.java:689)
    at com.intecbilling.replib.cache.Cache.connect(Cache.java:142)
    at com.intecbilling.replib.cache.Cache.getService(Cache.java:155)
    at com.intecbilling.replib.cache.Cache.getTransaction(Cache.java:161)
    at com.intecbilling.replib.cache.Cache.setContentForFolders(Cache.java:357)
    at com.intecbilling.replib.CacheRepository.updateCachedItemsForFolders(CacheRepository.java:260)
    at com.intecbilling.replib.CacheRepository.getItems(CacheRepository.java:342)
    at com.intecbilling.replib.RepositoryPerformance.measureGetItems(RepositoryPerformance.java:85)
    at com.intecbilling.replib.RepositoryPerformance.main(RepositoryPerformance.java:141)

I've got Tracing on.  There are four classes with persistence
annotations in them.  And the class where this is failing
(CacheProperty) seems to be scans once successfully but fails on a
subsequent parsing....

user.language: en
sun.os.patch.level: unknown
openjpa.ReadLockLevel: read
openjpa.jdbc.SubclassFetchMode: join
openjpa.DataCacheManager: default
derby.language.logStatementText: false
java.class.version: 49.0
openjpa.jdbc.SynchronizeMappings: buildSchema
java.vm.version: 1.5.0_09-b03
sun.desktop: gnome
java.home: /u01/ct/ctapp/jdk1.5.0_09/jre
openjpa.jdbc.SchemaFactory: dynamic
java.vm.info: mixed mode
openjpa.MetaDataRepository: default
sun.arch.data.model: 32
openjpa.AutoDetach:
java.vm.specification.name: Java Virtual Machine Specification
openjpa.ConnectionRetainMode: on-demand
sun.management.compiler: HotSpot Server Compiler
sun.cpu.endian: big
path.separator: :
openjpa.jdbc.DBDictionary: derby
openjpa.Optimistic: true
user.country: AU
openjpa.ConnectionFactoryMode: local
openjpa.Sequence: table
openjpa.Id: CacheService
openjpa.OrphanedKeyAction: log
file.separator: /
openjpa.AutoClear: datastore
os.arch: sparc
file.encoding.pkg: sun.io
openjpa.jdbc.LRSSize: query
openjpa.DetachState: loaded
java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi
os.name: SunOS
openjpa.jdbc.SQLFactory: default
java.vendor.url: http://java.sun.com/
openjpa.IgnoreChanges: false
sun.jnu.encoding: ISO8859-1
java.vm.specification.vendor: Sun Microsystems Inc.
openjpa.jdbc.MappingDefaults: jpa
openjpa.RetryClassRegistration: false
openjpa.TransactionMode: local
derby.stream.error.logSeverityLevel: 0
openjpa.ClassResolver: default
java.runtime.name: Java(TM) 2 Runtime Environment, Standard Edition
openjpa.QueryCache: true
openjpa.jdbc.DriverDataSource: simple
user.home: /ct/acct/ehillman
java.specification.version: 1.5
openjpa.ProxyManager: default
610  CacheService  TRACE  [main] openjpa.MetaData - Using metadata
factory "org.apache.openjpa.persistence.jdbc.PersistenceMappingFactory@1389b3f".
737  CacheService  INFO   [main] openjpa.jdbc.JDBC - Using dictionary
class "org.apache.openjpa.jdbc.sql.DerbyDictionary".
1140  CacheService  TRACE  [main] openjpa.MetaData - Scanning resource
"META-INF/orm.xml" for persistent types.
1146  CacheService  TRACE  [main] openjpa.MetaData -
parsePersistentTypeNames() found
[com.intecbilling.replib.cache.CacheProperty,
com.intecbilling.replib.cache.CachedItemReference,
com.intecbilling.replib.cache.ConfrepReservation,
com.intecbilling.replib.cache.CachedItem].
1147  CacheService  TRACE  [main] openjpa.MetaData - Found 4 classes
with metadata in 25 milliseconds.
1185  CacheService  TRACE  [main] openjpa.MetaData - Using metadata
factory "org.apache.openjpa.persistence.jdbc.PersistenceMappingFactory@178920a".
1190  CacheService  TRACE  [main] openjpa.MetaData - Loading metadata
for "class com.intecbilling.replib.cache.CacheProperty" under mode
"[META][QUERY]".
1191  CacheService  TRACE  [main] openjpa.MetaData - Scanning resource
"META-INF/orm.xml" for persistent types.
1193  CacheService  TRACE  [main] openjpa.MetaData -
parsePersistentTypeNames() found
[com.intecbilling.replib.cache.CacheProperty,
com.intecbilling.replib.cache.CachedItemReference,
com.intecbilling.replib.cache.ConfrepReservation,
com.intecbilling.replib.cache.CachedItem].
1194  CacheService  TRACE  [main] openjpa.MetaData - Found 4 classes
with metadata in 2 milliseconds.
1423  CacheService  TRACE  [main] openjpa.MetaData - Parsing class
"com.intecbilling.replib.cache.CacheProperty".
1423  CacheService  TRACE  [main] openjpa.MetaData - Parsing package
"com.intecbilling.replib.cache.CacheProperty".
1799  CacheService  TRACE  [main] openjpa.MetaData - Generating
default metadata for type
"com.intecbilling.replib.cache.CacheProperty".
1815  CacheService  TRACE  [main] openjpa.MetaData - Using reflection
for metadata generation.
1961  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"removeAllProperties".
1969  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"findPropertyByName".
2038  CacheService  TRACE  [main] openjpa.MetaData - Set
persistence-capable superclass of
"com.intecbilling.replib.cache.CacheProperty" to "null".
2040  CacheService  TRACE  [main] openjpa.MetaData - Resolving
metadata for "com.intecbilling.replib.cache.CacheProperty@2409492".
2041  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CacheProperty@2409492.name".
2112  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CacheProperty@2409492.value".
2113  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CacheProperty@2409492.version".
2120  CacheService  TRACE  [main] openjpa.MetaData - Preparing mapping
for "com.intecbilling.replib.cache.CacheProperty".
2141  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CacheProperty@2409492.name".
2173  CacheService  TRACE  [main] openjpa.MetaData - 	"name" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2185  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CacheProperty@2409492.value".
2186  CacheService  TRACE  [main] openjpa.MetaData - 	"value" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2187  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CacheProperty@2409492.version".
2187  CacheService  TRACE  [main] openjpa.MetaData - 	"version" has
mapping strategy "none".
2199  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.CacheProperty<discriminator>" has
mapping strategy "none".
2213  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.CacheProperty<version>" has mapping
strategy "version-number".
2213  CacheService  TRACE  [main] openjpa.MetaData - Resolving mapping
for "com.intecbilling.replib.cache.CacheProperty@2409492".
2214  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.CacheProperty" has mapping strategy
"full".
2215  CacheService  TRACE  [main] openjpa.MetaData - Loading metadata
for "class com.intecbilling.replib.cache.CachedItemReference" under
mode "[META][QUERY]".
2215  CacheService  TRACE  [main] openjpa.MetaData - Parsing class
"com.intecbilling.replib.cache.CachedItemReference".
2240  CacheService  TRACE  [main] openjpa.MetaData - Generating
default metadata for type
"com.intecbilling.replib.cache.CachedItemReference".
2240  CacheService  TRACE  [main] openjpa.MetaData - Using reflection
for metadata generation.
2262  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"removeAllRefs".
2265  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"removeAllRefsForRepository".
2268  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"removeAllRefsForFolder".
2276  CacheService  TRACE  [main] openjpa.MetaData - Parsing sequence
"CachedItemRef_Generator".
2286  CacheService  TRACE  [main] openjpa.MetaData - Set
persistence-capable superclass of
"com.intecbilling.replib.cache.CachedItemReference" to "null".
2286  CacheService  TRACE  [main] openjpa.MetaData - Resolving
metadata for "com.intecbilling.replib.cache.CachedItemReference@19057119".
2287  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItemReference@19057119.cachedItem".
2287  CacheService  TRACE  [main] openjpa.MetaData - Loading metadata
for "class com.intecbilling.replib.cache.CachedItem" under mode
"[META][QUERY]".
2287  CacheService  TRACE  [main] openjpa.MetaData - Parsing class
"com.intecbilling.replib.cache.CachedItem".2329  CacheService  TRACE
[main] openjpa.MetaData - Generating default metadata for type
"com.intecbilling.replib.cache.CachedItem".
2329  CacheService  TRACE  [main] openjpa.MetaData - Using reflection
for metadata generation.
2453  CacheService  TRACE  [main] openjpa.MetaData - Parsing query "removeAll".
2458  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"removeAllFromRepository".
2462  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"removeAllFromFolder".
2465  CacheService  TRACE  [main] openjpa.MetaData - Parsing query "findByUrl".
2469  CacheService  TRACE  [main] openjpa.MetaData - Parsing query "findByName".
2473  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"findByFolder".
2476  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"findUrlsByFolder".
2481  CacheService  TRACE  [main] openjpa.MetaData - Parsing query "findByType".
2485  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"findByIdAttribute".
2488  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"findBySecurityGroup".
2492  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"findByLastModified".
2566  CacheService  TRACE  [main] openjpa.MetaData - Parsing sequence
"CachedItem_Generator".
2636  CacheService  TRACE  [main] openjpa.MetaData - Set
persistence-capable superclass of
"com.intecbilling.replib.cache.CachedItem" to "null".
2655  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItemReference@19057119.id".
2656  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItemReference@19057119.url".
2660  CacheService  TRACE  [main] openjpa.MetaData - Resolving
metadata for "com.intecbilling.replib.cache.CachedItem@29080316".
2661  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.folder".
2661  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.id".
2662  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.idAttribute".
2662  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.lastModified".
2662  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.name".
2663  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.parseable".
2663  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.referencedItems".
2663  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.repository".
2664  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.securityGroup".
2664  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.type".
2665  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.value".
2665  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.version".
2665  CacheService  TRACE  [main] openjpa.MetaData - Preparing mapping
for "com.intecbilling.replib.cache.CachedItemReference".
2666  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItemReference@19057119.id".
2675  CacheService  TRACE  [main] openjpa.MetaData - 	"id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2676  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItemReference@19057119.url".
2676  CacheService  TRACE  [main] openjpa.MetaData - 	"url" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2677  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.CachedItemReference<discriminator>" has
mapping strategy "none".
2680  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.CachedItemReference<version>" has
mapping strategy "none".
2741  CacheService  TRACE  [main] openjpa.MetaData - Preparing mapping
for "com.intecbilling.replib.cache.CachedItem".
2741  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.id".
2742  CacheService  TRACE  [main] openjpa.MetaData - 	"id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2742  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.folder".
2743  CacheService  TRACE  [main] openjpa.MetaData - 	"folder" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2743  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.idAttribute".
2767  CacheService  TRACE  [main] openjpa.MetaData - 	"idAttribute"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2767  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.lastModified".
2772  CacheService  TRACE  [main] openjpa.MetaData - 	"lastModified"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2772  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.name".
2773  CacheService  TRACE  [main] openjpa.MetaData - 	"name" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2773  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.parseable".
2773  CacheService  TRACE  [main] openjpa.MetaData - 	"parseable" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2774  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.repository".
2774  CacheService  TRACE  [main] openjpa.MetaData - 	"repository" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2774  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.securityGroup".
2775  CacheService  TRACE  [main] openjpa.MetaData - 	"securityGroup"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2775  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.type".
2775  CacheService  TRACE  [main] openjpa.MetaData - 	"type" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2775  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.value".
2792  CacheService  TRACE  [main] openjpa.MetaData - 	"value" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2792  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.version".
2792  CacheService  TRACE  [main] openjpa.MetaData - 	"version" has
mapping strategy "none".
2793  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.CachedItem<discriminator>" has mapping
strategy "none".
2793  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.CachedItem<version>" has mapping
strategy "version-number".
2793  CacheService  TRACE  [main] openjpa.MetaData - Resolving mapping
for "com.intecbilling.replib.cache.CachedItemReference@19057119".
2794  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.CachedItemReference" has mapping
strategy "full".
2794  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItemReference@19057119.cachedItem".
2817  CacheService  TRACE  [main] openjpa.MetaData - 	"cachedItem" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2817  CacheService  TRACE  [main] openjpa.MetaData - Resolving mapping
for "com.intecbilling.replib.cache.CachedItem@29080316".
2818  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.CachedItem" has mapping strategy
"full".
2818  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.CachedItem@29080316.referencedItems".
3037  CacheService  TRACE  [main] openjpa.MetaData -
	"referencedItems" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
3040  CacheService  TRACE  [main] openjpa.MetaData - Loading metadata
for "class com.intecbilling.replib.cache.ConfrepReservation" under
mode "[META][QUERY]".
3041  CacheService  TRACE  [main] openjpa.MetaData - Parsing class
"com.intecbilling.replib.cache.ConfrepReservation".
3056  CacheService  TRACE  [main] openjpa.MetaData - Generating
default metadata for type
"com.intecbilling.replib.cache.ConfrepReservation".
3062  CacheService  TRACE  [main] openjpa.MetaData - Using reflection
for metadata generation.
3128  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"findReservationsByRepository".
3133  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"findReservationBySystemId".
3170  CacheService  TRACE  [main] openjpa.MetaData - Parsing sequence
"ConfrepReservation_Generator".
3190  CacheService  TRACE  [main] openjpa.MetaData - Set
persistence-capable superclass of
"com.intecbilling.replib.cache.ConfrepReservation" to "null".
3192  CacheService  TRACE  [main] openjpa.MetaData - Resolving
metadata for "com.intecbilling.replib.cache.ConfrepReservation@9052195".
3193  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.ConfrepReservation@9052195.confrep".
3193  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.ConfrepReservation@9052195.id".
3194  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.ConfrepReservation@9052195.repository".
3196  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.ConfrepReservation@9052195.systemId".
3197  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.ConfrepReservation@9052195.version".
3198  CacheService  TRACE  [main] openjpa.MetaData - Preparing mapping
for "com.intecbilling.replib.cache.ConfrepReservation".
3198  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.ConfrepReservation@9052195.id".
3198  CacheService  TRACE  [main] openjpa.MetaData - 	"id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
3200  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.ConfrepReservation@9052195.confrep".
3201  CacheService  TRACE  [main] openjpa.MetaData - 	"confrep" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
3201  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.ConfrepReservation@9052195.repository".
3201  CacheService  TRACE  [main] openjpa.MetaData - 	"repository" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
3202  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.ConfrepReservation@9052195.systemId".
3202  CacheService  TRACE  [main] openjpa.MetaData - 	"systemId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
3202  CacheService  TRACE  [main] openjpa.MetaData - 	Resolving field
"com.intecbilling.replib.cache.ConfrepReservation@9052195.version".
3202  CacheService  TRACE  [main] openjpa.MetaData - 	"version" has
mapping strategy "none".
3203  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.ConfrepReservation<discriminator>" has
mapping strategy "none".
3212  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.ConfrepReservation<version>" has
mapping strategy "version-number".
3213  CacheService  TRACE  [main] openjpa.MetaData - Resolving mapping
for "com.intecbilling.replib.cache.ConfrepReservation@9052195".
3213  CacheService  TRACE  [main] openjpa.MetaData -
"com.intecbilling.replib.cache.ConfrepReservation" has mapping
strategy "full".
8749  CacheService  TRACE  [main] openjpa.jdbc.JDBC - catalogSeparator:
catalogTerm: CATALOG
databaseProductName: Apache Derby
databaseProductVersion: 10.2.2.0 - (485682)
driverName: Apache Derby Embedded JDBC Driver
driverVersion: 10.2.2.0 - (485682)
extraNameCharacters:
identifierQuoteString: "
numericFunctions:
ABS,ACOS,ASIN,ATAN,CEILING,COS,DEGREES,EXP,FLOOR,LOG,LOG10,MOD,PI,RADIANS,SIN,SQRT,TAN
procedureTerm: PROCEDURE
schemaTerm: SCHEMA
searchStringEscape:
sqlKeywords: ALIAS,BIGINT,BOOLEAN,CALL,CLASS,COPY,DB2J_DEBUG,EXECUTE,EXPLAIN,FILE,FILTER,GETCURRENTCONNECTION,INDEX,INSTANCEOF,METHOD,NEW,OFF,PROPERTIES,PUBLICATION,RECOMPILE,REFRESH,RENAME,RUNTIMESTATISTICS,STATEMENT,STATISTICS,TIMING,WAIT
stringFunctions: CONCAT,LENGTH,LCASE,LOCATE,LTRIM,RTRIM,SUBSTRING,UCASE
systemFunctions: USER
timeDateFunctions:
CURDATE,CURTIME,HOUR,MINUTE,MONTH,SECOND,TIMESTAMPADD,TIMESTAMPDIFF,YEAR
url: jdbc:derby:directory:/var/tmp/replib-cache-15356
userName: APP
defaultTransactionIsolation: 2
driverMajorVersion: 10
driverMinorVersion: 2
maxBinaryLiteralLength: 0
maxCatalogNameLength: 0
maxCharLiteralLength: 0
maxColumnNameLength: 128
maxColumnsInGroupBy: 0
maxColumnsInIndex: 0
maxColumnsInOrderBy: 0
maxColumnsInSelect: 0
maxColumnsInTable: 0
maxConnections: 0
maxCursorNameLength: 128
maxIndexLength: 0
maxProcedureNameLength: 128
maxRowSize: 0
maxSchemaNameLength: 128
maxStatementLength: 0
maxStatements: 0
maxTableNameLength: 128
maxTablesInSelect: 0
maxUserNameLength: 30
isCatalogAtStart: false
isReadOnly: false
nullPlusNonNullIsNull: true
nullsAreSortedAtEnd: false
nullsAreSortedAtStart: false
nullsAreSortedHigh: true
nullsAreSortedLow: false
storesLowerCaseIdentifiers: false
storesLowerCaseQuotedIdentifiers: false
storesMixedCaseIdentifiers: false
storesMixedCaseQuotedIdentifiers: true
storesUpperCaseIdentifiers: true
storesUpperCaseQuotedIdentifiers: false
supportsAlterTableWithAddColumn: true
supportsAlterTableWithDropColumn: true
supportsANSI92EntryLevelSQL: false
supportsANSI92FullSQL: false
supportsANSI92IntermediateSQL: false
supportsCatalogsInDataManipulation: false
supportsCatalogsInIndexDefinitions: false
supportsCatalogsInPrivilegeDefinitions: false
supportsCatalogsInProcedureCalls: false
supportsCatalogsInTableDefinitions: false
supportsColumnAliasing: true
supportsConvert: true
supportsCoreSQLGrammar: false
supportsCorrelatedSubqueries: true
supportsDataDefinitionAndDataManipulationTransactions: true
supportsDataManipulationTransactionsOnly: false
supportsDifferentTableCorrelationNames: true
supportsExpressionsInOrderBy: false
supportsExtendedSQLGrammar: false
supportsFullOuterJoins: false
supportsGroupBy: true
supportsGroupByBeyondSelect: true
supportsGroupByUnrelated: true
supportsIntegrityEnhancementFacility: false
supportsLikeEscapeClause: true
supportsLimitedOuterJoins: true
supportsMinimumSQLGrammar: true
supportsMixedCaseIdentifiers: false
supportsMixedCaseQuotedIdentifiers: true
supportsMultipleResultSets: true
supportsMultipleTransactions: true
supportsNonNullableColumns: true
supportsOpenCursorsAcrossCommit: false
supportsOpenCursorsAcrossRollback: false
supportsOpenStatementsAcrossCommit: true
supportsOpenStatementsAcrossRollback: false
supportsOrderByUnrelated: false
supportsOuterJoins: true
supportsPositionedDelete: true
supportsPositionedUpdate: true
supportsSchemasInDataManipulation: true
supportsSchemasInIndexDefinitions: true
supportsSchemasInPrivilegeDefinitions: true
supportsSchemasInProcedureCalls: true
supportsSchemasInTableDefinitions: true
supportsSelectForUpdate: true
supportsStoredProcedures: true
supportsSubqueriesInComparisons: true
supportsSubqueriesInExists: true
supportsSubqueriesInIns: true
supportsSubqueriesInQuantifieds: true
supportsTableCorrelationNames: true
supportsTransactions: true
supportsUnion: true
supportsUnionAll: true
usesLocalFilePerTable: true
usesLocalFiles: true
allProceduresAreCallable: true
allTablesAreSelectable: true
dataDefinitionCausesTransactionCommit: false
dataDefinitionIgnoredInTransactions: false
doesMaxRowSizeIncludeBlobs: true
supportsBatchUpdates: true
8752  CacheService  TRACE  [main] openjpa.jdbc.Schema - Reading table
information for schema name "REPLIB", table name "CACHED_ITEM".
8765  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> [0 ms] rollback
8766  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> getColumns: null, REPLIB, CACHED_ITEM, null
11765  CacheService  TRACE  [main] openjpa.jdbc.Schema - Reading table
information for schema name "REPLIB", table name
"CACHED_ITEM_REFERENCE".
11767  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> [0 ms] rollback
11767  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> getColumns: null, REPLIB, CACHED_ITEM_REFERENCE, null
11818  CacheService  TRACE  [main] openjpa.jdbc.Schema - Reading table
information for schema name "REPLIB", table name "CACHED_ITEM_VALUE".
11820  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> [0 ms] rollback
11820  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> getColumns: null, REPLIB, CACHED_ITEM_VALUE, null
11827  CacheService  TRACE  [main] openjpa.jdbc.Schema - Reading table
information for schema name "REPLIB", table name "CACHE_PROPERTY".
11827  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> [0 ms] rollback
11828  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> getColumns: null, REPLIB, CACHE_PROPERTY, null
11831  CacheService  TRACE  [main] openjpa.jdbc.Schema - Reading table
information for schema name "REPLIB", table name
"CONFREP_RESERVATION".
11833  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> [1 ms] rollback
11833  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> getColumns: null, REPLIB, CONFREP_RESERVATION, null
11839  CacheService  TRACE  [main] openjpa.jdbc.Schema - Reading
sequence information for schema "REPLIB", sequence name "null".
11840  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> [0 ms] commit
11841  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 8694274> [1 ms] close
11864  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 20693770> [0 ms] rollback
11920  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 20693770> executing stmnt 13196714 CREATE TABLE
REPLIB.CACHED_ITEM (id INTEGER NOT NULL GENERATED BY DEFAULT AS
IDENTITY, folder VARCHAR(255) NOT NULL, ID_ATTRIBUTE INTEGER,
LAST_MODIFIED TIMESTAMP, name VARCHAR(255) NOT NULL, parseable
SMALLINT, repository VARCHAR(255) NOT NULL, SECURITY_GROUP
VARCHAR(255), type VARCHAR(255), version INTEGER, PRIMARY KEY (id),
UNIQUE (repository, folder, name))
12547  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 20693770> [627 ms] spent
12551  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 20693770> [0 ms] commit
12551  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 20693770> [0 ms] close
12558  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 9628550> [0 ms] rollback
12559  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 9628550> executing stmnt 27585103 CREATE TABLE
REPLIB.CACHED_ITEM_REFERENCE (id INTEGER NOT NULL GENERATED BY DEFAULT
AS IDENTITY, url VARCHAR(255) NOT NULL, cachedItem_id INTEGER, PRIMARY
KEY (id))
12649  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 9628550> [89 ms] spent
12649  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 9628550> [0 ms] commit
12650  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 9628550> [0 ms] close
12655  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 4467830> [0 ms] rollback
12656  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 4467830> executing stmnt 29559187 CREATE TABLE
REPLIB.CACHED_ITEM_VALUE (id INTEGER, value BLOB)
12723  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 4467830> [67 ms] spent
12724  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 4467830> [0 ms] commit
12725  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 4467830> [1 ms] close
12728  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 21845470> [0 ms] rollback
12729  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 21845470> executing stmnt 4219516 CREATE TABLE
REPLIB.CACHE_PROPERTY (name VARCHAR(255) NOT NULL, value VARCHAR(255)
NOT NULL, version INTEGER, PRIMARY KEY (name))
12866  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 21845470> [137 ms] spent
12866  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 21845470> [0 ms] commit
12867  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 21845470> [0 ms] close
12871  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 4750048> [0 ms] rollback
12871  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 4750048> executing stmnt 8069610 CREATE TABLE
REPLIB.CONFREP_RESERVATION (id INTEGER NOT NULL GENERATED BY DEFAULT
AS IDENTITY, confrep VARCHAR(255) NOT NULL, repository VARCHAR(255)
NOT NULL, SYSTEM_ID VARCHAR(255) NOT NULL, version INTEGER, PRIMARY
KEY (id), UNIQUE (repository, SYSTEM_ID), UNIQUE (repository,
confrep))
13131  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 4750048> [259 ms] spent
13133  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 4750048> [0 ms] commit
13133  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 4750048> [0 ms] close
13140  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 14936193> [0 ms] rollback
13140  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 14936193> executing stmnt 11893489 CREATE INDEX
I_CCHDRNC_CACHEDIT ON REPLIB.CACHED_ITEM_REFERENCE (cachedItem_id)
13229  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 14936193> [88 ms] spent
13229  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 14936193> [0 ms] commit
13230  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 14936193> [1 ms] close
13233  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 22953412> [0 ms] rollback
13234  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 22953412> executing stmnt 2704090 CREATE INDEX I_CCHD_VL_ID ON
REPLIB.CACHED_ITEM_VALUE (id)
13299  CacheService  TRACE  [main] openjpa.jdbc.SQL - <t 31706231,
conn 22953412> [64 ms] spent
13299  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 22953412> [0 ms] commit
13300  CacheService  TRACE  [main] openjpa.jdbc.JDBC - <t 31706231,
conn 22953412> [1 ms] close
13525  CacheService  TRACE  [main] openjpa.MetaData - Loading metadata
for "class com.intecbilling.replib.cache.CacheProperty" under mode
"[META][QUERY]".
13525  CacheService  TRACE  [main] openjpa.MetaData - Parsing class
"com.intecbilling.replib.cache.CacheProperty".
13525  CacheService  TRACE  [main] openjpa.MetaData - Parsing package
"com.intecbilling.replib.cache.CacheProperty".
13526  CacheService  TRACE  [main] openjpa.MetaData - Generating
default metadata for type
"com.intecbilling.replib.cache.CacheProperty".
13527  CacheService  TRACE  [main] openjpa.MetaData - Using reflection
for metadata generation.
13531  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"removeAllProperties".
13533  CacheService  TRACE  [main] openjpa.MetaData - Parsing query
"findPropertyByName".
13542  CacheService  TRACE  [main] openjpa.MetaData - Set
persistence-capable superclass of
"com.intecbilling.replib.cache.CacheProperty" to "null".
13542  CacheService  TRACE  [main] openjpa.MetaData - Resolving
metadata for "com.intecbilling.replib.cache.CacheProperty@30729370".
Exception in thread "main" <0.9.7-incubating fatal user error>
org.apache.openjpa.persistence.ArgumentException: The type "class
com.intecbilling.replib.cache.CacheProperty" has not been enhanced.
	at org.apache.openjpa.meta.ClassMetaData.resolveMeta(ClassMetaData.java:1606)
	at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1580)
	at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:659)
	at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:559)
	at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:484)
	at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:288)
	at org.apache.openjpa.kernel.BrokerImpl.newObjectId(BrokerImpl.java:1086)
	at org.apache.openjpa.kernel.DelegatingBroker.newObjectId(DelegatingBroker.java:257)
	at org.apache.openjpa.persistence.EntityManagerImpl.find(EntityManagerImpl.java:348)
	at com.intecbilling.replib.cache.CacheService.findPropertyByName(CacheService.java:117)
	at com.intecbilling.replib.cache.Cache.getProperty(Cache.java:689)
	at com.intecbilling.replib.cache.Cache.connect(Cache.java:142)
	at com.intecbilling.replib.cache.Cache.getService(Cache.java:155)
	at com.intecbilling.replib.cache.Cache.getTransaction(Cache.java:161)
	at com.intecbilling.replib.cache.Cache.setContentForFolders(Cache.java:357)
	at com.intecbilling.replib.CacheRepository.updateCachedItemsForFolders(CacheRepository.java:260)
	at com.intecbilling.replib.CacheRepository.getItems(CacheRepository.java:342)
	at com.intecbilling.replib.RepositoryPerformance.measureGetItems(RepositoryPerformance.java:85)
	at com.intecbilling.replib.RepositoryPerformance.main(RepositoryPerformance.java:141)


Is there something else I've missed?  I don't understand the exception.

Thanks for any help,
Ed

Mime
View raw message