[Teneo] Newbie question: Do I really have to register all my packages to Teneo manually? (using data [message #601982] |
Fri, 02 February 2007 08:29 |
JG Messages: 51 Registered: July 2009 |
Member |
|
|
Hello,
I am just looking at Teneo, since I was looking for an elegant solution
to get a relational persistence solution for my rather complex model. It
consists of numerous nested packages. When I did my first simple test to
persist a small example model (I just used the setup code from the Teneo
library example and replaced writer/author/etc. with my classes, all of
which are within a single package, which I set to the DataStore using
setEPackages), I received a NullPointerException when the Mapping was
created. From the output code I figured that the culprit was a reference
to a class in another package (which I had to added with setEPackage).
So i did, and now the mapping generation stuck at another external
reference. Since all my packages are connected in one way or another, I
would have to add them all. Since I add to the model regularly, that
would require modifying the code whenever I introduce a new package. Is
there a way around this problem, i.e., can I tell Teneo to include the
"transitive closure" of packages?
Regards
Jürgen
|
|
|
Powered by
FUDForum. Page generated in 0.17017 seconds