t; elements
> > > of arbitrary persistent
> > > classes.
> > >
> > > The trick is that we store serialized Identity
> > > objects as "pointers" to the
> > > actual objects.
> > > If you look at the DListImpl code you will see
Hi Thomas,
I am not familiar with ODMG but I will go to study
it. One question needs your help, is it meant that in
the mapping file for this DListImpl I do not need to
configure the attribute element-class-ref for
collection-descriptor tag?
Regards,
Rice
--- Mahler Thomas <[EMAIL PROTECTED]>
Hi,
I have been using OJB for some period. I am taking a
project left by a partner that uses Hinbernate for
persistence. So I start studying Hibernate. Hibernate
has a mapping function called "any type mapping" that
is defined as the follows:
"The mapping element defines a polymorphic
associati
Hi,
Has anyone meet similar problem
(NullPointerException is thrown in hashCode()
function) when a un-matured persistent object is added
to map or set that will invoke the persistent object's
hashCode() function. The execption happens because the
peristent object is un-matured, that is, some of i
Hi,
A bug at line 135 of ObjectReferenceDescriptor.java
is found. I think it should be
while (mif.isInterface())
instead of
if (mif.isInterface())
Regards,
Rice
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://siteb
Hi Armin,
Attached are two files. One is PersistentFieldImpl. It has passed NestedFieldsTest
test with path separator '/' instead of '::'.
The other is SunOneTransactionManagerFactory.java.
Ps, I find I cannot attach files from my yahoo mail. So I send this message from
another mail.
Regards
--- Rice Yeh <[EMAIL PROTECTED]> wrote:
> Hi,
> Attached is transaction manager factory
> implementation I used for SunOne Ap7.
> Just wonder how to contribute code? Is the way I
> am
> doing right? Or should I post it to dev mailing
>
Hi,
Attached is transaction manager factory
implementation I used for SunOne Ap7.
Just wonder how to contribute code? Is the way I am
doing right? Or should I post it to dev mailing list?
Regards,
Rice
-
To unsubscribe, e-ma
Hi,
Here I have a lot of thinking about refactoring
FieldConversion interface to enhance anonymous fields:
1. Since anonymous fields have no corresponding java
fields, their values must come from some other places.
As I know, it can come from
a. referece to other object (foreign key)
b. ref
Hi Thomas,
I have wirten a PersistentField interface
implemntatin called "PersistentFieldImp" which suports
interface when traveling an instance path of a nested
field. Its function is described by the following
javadoc:
---
PersistentFieldImp
Hi,
When I read OJB source code, I find a ClassHelper
class, but it seems that its usage seems not wide.
What I mean is that there are many codes in OJB doing
object instantation do not use it but have their own.
There are ways to instantiate a new object in java.
The simplest one is Class.newIns
ll us about the
> results!
>
> cheers,
> Thomas
>
> Rice Yeh wrote:
> > Hi all,
> > On inheritance mapping to one table, a field
> > 'ojbConcretClass' is need in AB abstract class. Is
> it
> > still needed sinc
Hi all,
On inheritance mapping to one table, a field
'ojbConcretClass' is need in AB abstract class. Is it
still needed since we can treat this field as
anonymous?
Regards,
Rice
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-
ded to have this intrusion to OJB internals
> simple.
> I don't think it's a *real* problem. those extra
> attributes can be
> effectively hidden from application developers.
>
> cheers,
> Thomas
>
>
> > -Original Message-
> > From: Rice
Hi,
I just read discussion on tss website
http://www.theserverside.com/home/thread.jsp?thread_id=18066&article_count=33#75045
I find that ojb has similar problem "reference id
intrusion to the domain model" for reference mapping.
For example, in Article we have to introduce another
field productG
Hi,
I usually use Map when a object in collection is
needed to be retrieved by key and the collection is
too big to scan the collection to get the wanted
object specified by key.
Regards,
Rice
--- Christopher C Worley <[EMAIL PROTECTED]> wrote:
> Rice,
>
> I have not. It may be common, I was
Hi,
I do not really understand what you want to ask. I
just have a class with a java.util.Map field and try
to map it. Do people NOT use java.util.Map in object
modeling?
Regards,
Rice
--- Christopher C Worley <[EMAIL PROTECTED]> wrote:
> Rice,
>
> I am curious to know when would you need to
Hi,
In OJB document, I can find information on how to
handle collection mapping. However, I can not find
information on how to handle java.util.Map. Is it
supported?
Regards,
Rice
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, mor
"address" of type
> Adress,
> the mapping for the "street" attribute of "address"
> would look like follows:
>
> name="adress->street"
> column="ADR_STREET"
> jdbc-type="VARCHAR"
money.amount"
> column="moneyAmount"
> jdbc-type="LONG"
> />
>
>
>
> and
>
>
>
> name="money.currency"
> column="moneyCurrency"
> jdbc-type="VARCHAR"
>
Hi,
Have this modification already checked into cvs
repository?
Regards,
Rice
--- "TINE Houari (OBJECTIVA)"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have modied the source code of OJB to enable
> mapping 1:1 and 1:m
> association without adding variable instance (that
> model fk) in business
Hi,
As stated in Martine Flower's artice
(http://martinfowler.com/eaaCatalog/embeddedValue.html)
"Many small objects make sense in an OO system that
don't make sense as tables in a database. Examples
include currency-aware money objects and date ranges.
Although the default thinking is to save an
itory_user entry to
> make it work.
>
> cheers,
> Thomas
>
> Rice Yeh wrote:
> > Hi,
> > While building OBJ tutorial for JDO API, I get
> the
> > following error, what is worng?
> >
> > prepare-tutorials:
> >
> > enhance-jdori:
things about the JDO RI.
> The reference enhancer is contained in the finally
> shipped JDO
> specification, but not in the JDORI itself.
>
> The best thing will be to load down the spec as
> well.
>
> cheers,
> Thomas
>
> Rice Yeh wrote:
> > Hi,
> >
Hi,
While building OBJ tutorial for JDO API, I get the
following error, what is worng?
prepare-tutorials:
enhance-jdori:
BUILD FAILED
file:D:/coffee/jakarta/jakarta-ojb-0.9.9/build.xml:901:
Warning: Could not find
file
D:\coffee\jakarta\jakarta-ojb-0.9.9\src\jdori\org\apache\ojb\tutorial5\Prod
Hi,
I followed the instruction on tutorial about jdo,
wherein it is stated to download jdori from sun and
get three jars, one of them is jdori-enhancer.jar. But
I can NOT find this one but the other two jars are ok.
In jdori.jar, there is a package 'enhancer'. Should I
extract it out as another j
26 matches
Mail list logo