Menu
  • HOME
  • TAGS

CayenneModeler not generating Cayenne.xml

java,data,orm,apache-cayenne

I think I know what's going on. If you look at the exception, your stack trace indicates Cayenne version being v.3.0RC2. This is a version of the runtime. 2 files (one of which is called something like "cayenne-project.xml"), were generated by the Modeler version 3.1. You need to ensure that...

How to create custom SQLite function and execute under Cayenne

java,sqlite,apache-cayenne

My understanding is that whatever method you are using for registering a function, it only happens for a single connection. In Cayenne you are normally working with a connection pool with multiple connections. Moreover those can be closed and reopened transparently to the rest of the app. You need to...

Apache Cayenne: user-defined tables: examples?

apache-cayenne

Yes, Cayenne generic objects make it possible to alter your model in runtime. You have an additional challenge to update the actual schema. There are a few unknowns in the description (is the underlying DB shared by multiple apps/users; concurrency of the schema changes; do the changes need to be...

Trigger callback method from another callback method

apache-cayenne

One way to solve this would be to create Assignment objects in a separate ObjectContext.

What is the status of JPA support in apache-cayenne?

apache-cayenne

In the past long gone Cayenne community was pursuing JPA compatibility (hence all those tasks in Jira). We no longer do. So ORM modeling in Cayenne is XML based as always. Annotations are often used for "secondary" metadata (like cache behavior, etc), but the main ORM model is XML. The...