On Sun, Aug 16, 2009 at 3:21 AM, Aristedes Maniatis wrote:
> On 15/08/09 5:41 AM, Gilberto C. Andrade wrote:
>>
>> Ok, after a good read on [1] and [2], I could understand that what I
>> want to do [3], right now, is not implemented in cayenne. Cayenne
>> only supply table-per-class-hierarchy feat
On 15/08/09 5:41 AM, Gilberto C. Andrade wrote:
Ok, after a good read on [1] and [2], I could understand that what I
want to do [3], right now, is not implemented in cayenne. Cayenne
only supply table-per-class-hierarchy feature.
Is that right?
Gilberto
[1]http://cayenne.apache.org/doc/inherit
Ok, after a good read on [1] and [2], I could understand that what I
want to do [3], right now, is not implemented in cayenne. Cayenne
only supply table-per-class-hierarchy feature.
Is that right?
Gilberto
[1] http://cayenne.apache.org/doc/inheritance-overview.html
[2] http://cayenne.apache.org/
Thanks Tore, but my initial problem is understand Andrus's tips:
3 Run class generator to generate the _Xyz superclasses.
4 Change the existing classes by hand to inherit from _Xyz counterpart.
5 Remove existing persistence fields, and use superclass getters and
setters to access them. * Change the
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