This one time, at band camp, Stein M. Hugubakken said:
SMH>g r i t s e n k o wrote:
SMH>>
SMH>> OK. I was loading whole database of about 1.5 meg (mysql database was of
SMH>> this size) into memeory using Castor - the concept was to have a root
SMH>> class, on which children were dependent, in tu
g r i t s e n k o wrote:
OK. I was loading whole database of about 1.5 meg (mysql database was of
this size) into memeory using Castor - the concept was to have a root
class, on which children were dependent, in turn, its' children were
dependent on them - about 6 stories of hierarchy. Once root
OK. I was loading whole database of about 1.5 meg (mysql database was of
this size) into memeory using Castor - the concept was to have a root
class, on which children were dependent, in turn, its' children were
dependent on them - about 6 stories of hierarchy. Once root class was
db.loaded, it
g r i t s e n k o wrote:
I use OJB proxy to leverage lazy loading. I use OJB for O/R data
binding. I did use Castor JDO for that, but had memory problems and
switched to OJB a month ago. Sorry.
I'm very interested in this, would you mind elaborate on your memory
problem with Castor?
Stein
---
I use OJB proxy to leverage lazy loading. I use OJB for O/R data
binding. I did use Castor JDO for that, but had memory problems and
switched to OJB a month ago. Sorry.
Bruce Snyder wrote:
This one time, at band camp, g r i t s e n k o said:
gritse>I tried, cast gives CastException. But concep
This one time, at band camp, g r i t s e n k o said:
gritse>I tried, cast gives CastException. But conceptually, this is the right
gritse>ide, to convert proxy to real class and then marshall. Only conversion
gritse>may be not necessarily casting. It can be copying property by property
gritse>wit
I tried, cast gives CastException. But conceptually, this is the right
ide, to convert proxy to real class and then marshall. Only conversion
may be not necessarily casting. It can be copying property by property
with getters and setters, from proxy properties, to real class properties.
Bruce S
To cast is a bright idea - I will try it and report on progress!
Bruce Snyder wrote:
This one time, at band camp, Stein M. Hugubakken said:
SMH>g r i t s e n k o wrote:
SMH>>
SMH>> I marshal like this:
SMH>>
SMH>> marshaller = new Marshaller(res.getWriter());
SMH>> marshaller
Seriously, guys, does anybody have any constructive ideas why Castor
ignores ‘map-to xml=’resume’ in class descriptor for Resume class, which
implements InterfaceResume, which at run time is represented by proxy
class with name starting with '$' , e.g. $Proxy0
The effect I want to achieve is t
I marshal like this:
marshaller = new Marshaller(res.getWriter());
marshaller.setMapping(_xml_mapping);
marshaller.marshal(aResume);
viktoR
Keith Visco wrote:
How are you calling the Marshaller ? Make sure you are not using one of
the static marshal methods
I marshal like this:
marshaller = new Marshaller(res.getWriter());
marshaller.setMapping(_xml_mapping);
marshaller.marshal(aResume);
Keith Visco wrote:
How are you calling the Marshaller ? Make sure you are not using one of
the static marshal methods.
--Kei
I REPOST this as text only, as suggested by Werner Guttman:
Werner Guttmann wrote:
Hi,
can you please REPOST this message as text/ascii, as this mailing does not accept HTML messages.
Thanks
Werner
--Original Message Text---
From: g r i t s e n k o
Date: Mon, 12 Apr 2004 11:11:24 -0500
Brief e
How are you calling the Marshaller ? Make sure you are not using one of
the static marshal methods.
--Keith
> g r i t s e n k o wrote:
>
> Brief error description:
>
>
>
> Castor ignores map-to xml=resume in mapping for Resume class, which
> at run time is materialized by proxy class A
Hi,
can you please REPOST this message as text/ascii, as this mailing does not accept HTML messages.
Thanks
Werner
--Original Message Text---
From: g r i t s e n k o
Date: Mon, 12 Apr 2004 11:11:24 -0500
Brief error description:
Castor ignores map-to xml=resume in
Brief error description:
Castor ignores ‘map-to xml=’resume’ in mapping for
Resume
class, which at run time is materialized by proxy class – Apache OJB
does
it for lazy loading purposes – so called
dynamic proxy.
Castor attempts to marshal Resume and comes up
with xml tag
name for Resume,
15 matches
Mail list logo