On 8/08/09 6:51 AM, Tore Halset wrote:
Take a look at the examples: (the formatting of the code-examples look
strange..)
Hmmm... yes. This would be the Confluence upgrade. I'll see if I can fix that
this weekend.
Ari
-->
Aristedes Maniatis
GPG fingerprint CBFB 84B4
Hello.
The cayenne way is like this:
ObjectContext ctxt =
Pessoa p = (Pessoa) ctxt.newObject(PessoaFisica.class);
p.setName("Gilberto");
p.setDateOfBirth(Date.valueOf("2009-01-01"));
ctxt.commitChanges();
It seem strange at the beginning, but there are lots of benefits with
the context k
No non-jdbc examples that I know of, but I'd say you needed to create
your own implementation of Interface DbAdapter.
http://cayenne.apache.org/doc/api/org/apache/cayenne/dba/DbAdapter.html
You could use the JdbcAdaptor as an example:
http://cayenne.apache.org/doc/api/org/apache/cayenne/dba/Jdb
Does anyone have an example of how to get data from a non-JDBC data
source, or some docs/instructions/etc. of how this can be done?
I must have misunderstood you first. There is certainly a problem with
launching modeler plugin. Adding Objectstyle repo to my pom helped for me:
objectstyle
Objectstyle Repository
http://objectstyle.org/maven2
default