Ah, I see. (I'm ccing cglib-devel because this conversation seems more
appropriate there)
The code which does the reflection in my application is part of an
external library (domify). With some significant hassle I could change
domify to have special knowledge of cglib proxies but it seems like
Hi,
HSQL supports so called "Cached tables"
(http://hsqldb.sourceforge.net/web/hsqlModes.html). I'm wondering if it is somehow
possible to tell Hibernate (1.x )that some tables are cached whereas others are not.
The only difference is that cached tables are created with "CREATE CACHED" instead o
Thats perfectly fine
its just doing a deep copy, for the purposes of dirty checking, so it
doesn't need
the parent. Of course it also doesn't need to call setParent()! ;) I will
remove that
call, but its harmless, so don't worry about it.
- Original Message -
From: "Viktor Szathm
This public method implemented for *all* proxy instances.
Proxy implements net.sf.cglib.Factory interface it is used for optimization
to eleminate reflection.
We can rename getters and setters, but it is public API and you can filter
methods this way:
public boolean accept(){
return net.sf.cglib
It gets weird. The problem is that *sometimes* the proxy exposes a
getInterceptor() method of type net.sf.cglib.proxy.MethodInterceptor.
When I restart the JVM, it usually works for a while - this method is
not exposed. Eventually, however, something "breaks" and this method is
consistently expo
private void setTopParent(TopLevelParent topParent) {
this.parent = topParent.getComponent();
}
should do what you need ;)
"Viktor Sz
hi,
i decided to take the path of least resistance, and migrate to hib2 (took
about 5 minutes) to get support for ...
alas, i got an IllegalArgumentException: "argument type mismatch" when
it's calling the setter... it turns out the problem is more of a
misunderstanding - the for the nested comp
Bugs item #677802, was opened at 2003-01-30 16:21
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=677802&group_id=40712
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Leonardo Quijano (lquijano)
Assigned to: Nobody/Anon
Bugs item #677800, was opened at 2003-01-30 16:20
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428708&aid=677800&group_id=40712
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Leonardo Quijano (lquijano)
Assigned to: Nobody/Anon
It's possible that there is a getter on the proxy that returns an object
that has the getSession() method. Difficult to tell from my current
test app. I'll write some introspection code to find out what's going
on.
Jeff
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE
Wierd those methods are defined on the _handler_ class,
not the proxy interface itself.
And I didn't thing the proxies implement the interface of the
MethodInterceptor
>> At this point hibernate first tries to save the child
record <<
No, cascades to collections happen *after*. ie. the child
will be saved after the parent.
Anyway, The sequence of steps *should* be
>1) I create an new parent class
>2) I create a new child class
>3) I add the child record to th
H. HibernateProxy itself only declares writeReplace(). Do you mean
methods
that are coming from CGLIB, or are you referring to an older version of
Hibernate?
I'm having a small problem with the generated proxy implementations in
one of my webapps. My data objects are of course java beans, and these
java beans are passed up into the presentation tier.
Among other things, my presentation tier uses reflection to examine the
data (model) components and ge
Yeah, I'm not sure. I havn't had time to look at the
code myself, and no response from Max..
is he on holiday or something?
otisg <[EM
You can "turn off" the disassociating UPDATE be using a bidirectional
association with readonly="true" for the collection mapping.
jieshen
16 matches
Mail list logo