Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Newbie question: Do I really have to register all my packages to Teneo manually? (using data
[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 is currently offline JGFriend
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
Previous Topic:[Teneo] Setting a 'unique' constraint on a many-to-one reference in hibernate
Next Topic:teneo: Yet another DuplicateMappingException problem
Goto Forum:
  


Current Time: Tue Apr 23 06:35:43 GMT 2024

Powered by FUDForum. Page generated in 0.17017 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top