[jboss-user] [jBPM] - Re: jBPM 5.1, OpenJPA and WebSphere 7
trjiii
do-not-reply at jboss.com
Fri Oct 21 18:21:15 EDT 2011
trjiii [http://community.jboss.org/people/trjiii] created the discussion
"Re: jBPM 5.1, OpenJPA and WebSphere 7"
To view the discussion, visit: http://community.jboss.org/message/633121#633121
--------------------------------------------------------------
OK.....I upgraded to OpenJPA 2.0.3 becuase I thought these might be JPA 1.0/2.0 issues...but after rebuilding and enhancing again...I get the following...
*Caused by: <openjpa-2.0.2-SNAPSHOT-r422266:1084264 fatal user error> org.apache.openjpa.persistence.ArgumentException: You have supplied columns for "org.jbpm.task.Task.deadlines.org.jbpm.task.Deadlines.endDeadlines", but this mapping cannot have columns in this context.*
*at org.apache.openjpa.jdbc.meta.MappingInfo.assertNoSchemaComponents(MappingInfo.java:382)*
*at org.apache.openjpa.jdbc.meta.strats.RelationToManyTableFieldStrategy.map(RelationToManyTableFieldStrategy.java:97)*
*at org.apache.openjpa.jdbc.meta.strats.RelationCollectionTableFieldStrategy.map(RelationCollectionTableFieldStrategy.java:95)*
*at org.apache.openjpa.jdbc.meta.FieldMapping.setStrategy(FieldMapping.java:146)*
*at org.apache.openjpa.jdbc.meta.RuntimeStrategyInstaller.installStrategy(RuntimeStrategyInstaller.java:82)*
*at org.apache.openjpa.jdbc.meta.FieldMapping.resolveMapping(FieldMapping.java:496)*
*at org.apache.openjpa.jdbc.meta.FieldMapping.resolve(FieldMapping.java:461)*
*at org.apache.openjpa.jdbc.meta.ClassMapping.resolveMapping(ClassMapping.java:853)*
*at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1791)*
*at org.apache.openjpa.jdbc.meta.ValueMappingImpl.resolve(ValueMappingImpl.java:498)*
*at org.apache.openjpa.jdbc.meta.strats.EmbedFieldStrategy.map(EmbedFieldStrategy.java:109)*
*at org.apache.openjpa.jdbc.meta.FieldMapping.setStrategy(FieldMapping.java:146)*
*at org.apache.openjpa.jdbc.meta.RuntimeStrategyInstaller.installStrategy(RuntimeStrategyInstaller.java:82)*
*at org.apache.openjpa.jdbc.meta.FieldMapping.resolveMapping(FieldMapping.java:496)*
*at org.apache.openjpa.jdbc.meta.FieldMapping.resolve(FieldMapping.java:461)*
*at org.apache.openjpa.jdbc.meta.ClassMapping.resolveMapping(ClassMapping.java:853)*
*at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1791)*
*at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:790)*
*at org.apache.openjpa.meta.MetaDataRepository.resolveMapping(MetaDataRepository.java:751)*
*at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:631)*
Any suggestions? Are the task entity classes tied that closely to Hibernate?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/633121#633121]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111021/ba6b4c46/attachment.html
More information about the jboss-user
mailing list