I am sidestepping a direct answer, and will instead mention a scenario when neither GUI nor manual XML changes are needed for working with the model. Cdbimport Ant/Maven model reverse-engineering tool in Cayenne facilitates a workflow when the DB evolution is done with SQL scripts, and model (and then Java classes) are automatically synchronized from the DB schema. As of lately I am actively exploring this workflow, and it works great, with a few caveats:
* The tools are only adequate on Cayenne 3.2 (aka the code that you need to build on your own from trunk). Prior versions are not very usable. * Your DB schema naming makes sense so that table/column names cleanly translate to Java property names. * You don't have many entity-specific customizations (it will be hard to template those on reverse engineering; however a workaround would be to add them to the model in runtime with custom Java code). Andrus On Dec 22, 2012, at 10:59 AM, Michael Jaruska <michael.jaru...@gmail.com> wrote: > hi folks, > > i'm searching for tutorial for using cayene without caynene modeler, i need > something like "download this jar, write this bean, edit this xml in this way > and this is how you can access objects from database". > > i'm not fun of grafical/ide tools (writing this hope this won't lead into > spam), just like hand-make work. > > is there tutorial with this aspect keeping in mind? > > please be patient to my beginer question. > > michael >