Hi,
this post is related to a previous pos on the mailing list:
"JPA: adding entities to EntityManagerFactory programmatically"
I experience a NoClassDefFoundError while OpenJPA creates subclasses
for persistent classes that live in a different class loader than
OpenJPA itself.
In short, I a
Hi,
removing IProject isn't really an option as it is the only entity
class so far. The other yet to come entity classes will be designed
with the same pattern (see previous post).
However, after doing so it works.
Yes, all three points are true for my environment.
Cheers,
Rüdiger
Pinaki P
Hi,
again, your documentation is good, and your support as well. It's
just me too dumb to read it. Sorry for bothering you, this I
could've found out myself.
But now for something completely different (hopefully not again a
not-read-documentation-issue;)
I get the stack trace below when co
HURRAY, the example is working!
But making the same changes to my PDE TestCases fails. I am pretty
sure this is because of different class loaders.
Is it possible to also specify a distinct class loader for each
entity class?
Background:
I am running in an OSGi environment in which the code
If it is more convenient, I can also send the example projects,
which consists of two classes, hsqldb.jar and the openJPA jars
(which I can leave aside)
Here goes the stack trace:
Exception in thread "main" error> org.apache.openjpa.persistence.ArgumentException: The type
"class org.example.o
P) example is all I want to see running for now.
Dealing with the class-loading issues will probably be the next step;)
Cheers,
Rüdiger
Marco Schwarz wrote:
I work on a RCP using openJPA and Derby. It works fine.
Kann I see your RCP (and Plugin) Source?
Bye
Marco
- Original Message -
Da
t :)
[1]
http://openjpa.apache.org/docs/latest/manual/manual.html#ref_guide_pc_enhance
[2]
http://openjpa.apache.org/docs/latest/manual/manual.html#ref_guide_pc_enhance_unenhanced_types
Rüdiger Herrmann wrote:
Hi,
using OpenJPA in a JavaSE (Eclipse RCP) environment, I would like to
re
Hi,
using OpenJPA in a JavaSE (Eclipse RCP) environment, I would like to
register JPA-annotated classes that will participate in the
persistence mechanism at runtime.
Background:
Presistence-aware classes are contributed via Eclipse Extension
Points. All these classes have JPA annotations.