Re: Generic dictionary data with entities?

2017-02-10 Thread Aristedes Maniatis
On 11/2/17 10:32am, Michael Gentry wrote: > On Fri, Feb 10, 2017 at 3:08 PM, John Huss wrote: > >> Another option is to create a separate file and put things there, like a >> properties file or a json document or something. It's not a bad solution. >> > > Yeah, I was just

Re: Generic dictionary data with entities?

2017-02-10 Thread Michael Gentry
On Fri, Feb 10, 2017 at 3:08 PM, John Huss wrote: > Another option is to create a separate file and put things there, like a > properties file or a json document or something. It's not a bad solution. > Yeah, I was just answering the question about the CM file itself.

Re: Generic dictionary data with entities?

2017-02-10 Thread John Huss
Another option is to create a separate file and put things there, like a properties file or a json document or something. It's not a bad solution. On Fri, Feb 10, 2017 at 1:20 PM Michael Gentry wrote: > Hi Ken, > > This isn't doable in CM currently, but is a future goal

Re: Generic dictionary data with entities?

2017-02-10 Thread Michael Gentry
Hi Ken, This isn't doable in CM currently, but is a future goal (at least of mine): https://github.com/apache/cayenne-modeler Just haven't gotten there yet. mrg On Fri, Feb 10, 2017 at 2:09 PM, Ken Anderson wrote: > All, > > > > In EOF, I used to decorate

Generic dictionary data with entities?

2017-02-10 Thread Ken Anderson
All, In EOF, I used to decorate entities with additional data in the uerInfo of the entities. Right now, I would like to add the entity name of the alias entity to the model, so I can access it in the apps. Is there an equivalent function in Cayenne? I couldn’t find any way to add user info

Re: Cayenne and migrations

2017-02-10 Thread John Huss
Yes, that's right. Basically all database migration libraries work this way. The difference is in the language/API used to specify the changes to make. On Fri, Feb 10, 2017 at 3:23 AM Musall, Maik wrote: > Hi, > > I'm coming from Wonder migrations, as I'm currently

Re: Cayenne and migrations

2017-02-10 Thread Musall, Maik
Hi, I'm coming from Wonder migrations, as I'm currently migrating a large project from EOF to Cayenne (with Hugi). ERXMigration keeps a table indicating the current schema version, and then the application itself will upgrade it to the current point upon startup, every new version being