Cédric,
You need to define the attribute persistent-capable-superclass in your
.jdo file for the sub-class. So if you have class A extends class B,
your .jdo file would have:
The JDORI enhancer creates final methods to access the persistent
attributes of the object. If it does not know tha
That is how nulls work in MySQL with the TIMESTAMP column type. If you
insert a null or assign a column to null, it will fill in the current time.
See here:
http://www.mysql.com/doc/en/DATETIME.html
lyl wrote:
> Hi!
>
> I have a mysql table, one field is TIMESTAMP,
> When i insert a record u
:83)
If I can get lookups to work this way, that would certainly suffice for
my needs.
Thomas Mahler wrote:
Hi again ketan,
Ketan Gangatirkar wrote:
The only problem seems to be that I did not manage to transfer the
correct
state information during the retrieval of extents. Only
's kind of
hard to use JDO when it's read-only :-). Thanks.
Thomas Mahler wrote:
Hi Ketan,
Ketan Gangatirkar wrote:
Thomas,
I've been stepping through the OBJ JDO and JDORI code. I have
determined that the PersistenceCapable objects never are assigned a
StateManager (member j
y(b)) from within the Extent iteration loop,
which threw the same JDOUserException.
I can't tell if this is good news or bad; hopefully this gives you
enough information to tell. If nothing else, it's consistent!
Thomas Mahler wrote:
Hi Ketan,
Ketan Gangatirkar wrote:
Thomas
Thomas,
Thank you for the quick reply. One thing you mentioned made me pause,
however.
Mahler Thomas wrote:
The only problem seems to be that I did not manage to transfer the correct
state information during the retrieval of extents. Only if you rely on this
state information you'll get problem
Norival,
The XML parser is looking for a protocol for the DTD URI in the DOCTYPE
declaration. I don't know how to do relative URIs in this context, so
I've used absolute URIs like: file:///c:/obj/repository.dtd. No doubt
there's a better way, but this will at least get you unstuck.
Norival N
ned a
StateManager, but I see no corresponding assignment for objects fetched
from the DB. At what point should that be happening?
Thomas Mahler wrote:
Hi Ketan,
Ketan Gangatirkar wrote:
All,
I'm having a problem with objects fetched from the database. All JDOs
are treated as Transient objects
All,
I'm having a problem with objects fetched from the database. All JDOs
are treated as Transient objects when they have just been fetched from
the database. Thus, they don't have object ids (.jdoGetObjectId()
returns null) or a reference to a PM (.jdoGetPersistenceManager()
returns null). ob