H,
I have an optional date attribute that is not in my xml. I unmarshal
it in generated code. Now i ask for the date and it returns something
not null. Calling a method on whatever is return throw a
NullPointerException. The method called does not appear in the stack
trace. If I print the object
H Tjeerd,
Looks good
You don't get rid of the in this example? I was thinking of
putting code like this in a class to inherit from, but that reduces
option, or you'd have to do it every time.
> "Tjeerd" == Verhagen, Tjeerd <[EMAIL PROTECTED]> writes:
> From: "Verhagen, Tjeerd" <[EMAIL
Why don't you use MAX?
-Message d'origine-
De : David Blevins [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 4 octobre 2002 03:05
À : [EMAIL PROTECTED]
Objet : [castor-dev] InstantDB and KeyGenerators
Hi All,
I've been fighting with InstantDB and Castor trying to figure out how to
get C
Yes you are right!
Guy
-Message d'origine-
De : Dave Carlson [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 3 octobre 2002 23:23
À : [EMAIL PROTECTED]
Objet : Re: [castor-dev] Problem in inserting table with foreign key
This is exactly the same problem that I posted in a message several da
Maybe little off-topic, but...
To have surrogate keys (like an sequence-generated OID) in every table,
would simplify the life for castor-users.
What are the pros aside from that?
In most databases I come across, people don't use it.
For instance, if there's a ordertable it has a order_id and
This one time, at band camp, Thomas Olausson said:
TO>Can multiple column PKs be used in a foreign key scenario?
Thomas,
No, currently they cannot. Please see this bug report:
http://bugzilla.exolab.org/show_bug.cgi?id=925
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E
Can multiple column PKs be used in a foreign key scenario?
I have this:
table BOOK (book_id,book_name)
PK is book_id
table PAGE (book_id,page_id,page_data),
PK is book_id,page_id
The Book java class has a vector of pages.
The Page java class has it's data.
I don't necessarily need naviga
Hi All,
I've been fighting with InstantDB and Castor trying to figure out how to
get Castor to play nicely with InstantDB's AUTO INCREMENT, but can't
seem to find a matching Castor KeyGenerator that fits. I've grep'ed the
source a bit and see a couple InstantDB specific files, not to big
though.
Hi !
My question is about marshalling collections in latest Castor.
I notice that marshalling behaviour had changed since 0.3.9.21
Assuming I have an object like this
class List {
java.util.Collection _liList ;
java.util.Collection getLi() {
return this._liList ;
}
Keith,
We use a log4j Category instance, for logging. Remove or replace the cat
reference
with the for castor, or remove them.
The code:
/** Converts a Castor ValueBean instance into a XML String instance. */
I marked one of my fields as transient but it still shows up in my
marshalled output. What am I doing wrong?
public class X
{
public String getCoCd() {...}
public void setCoCd(String a_coCd) { ...}
}
And my mapping file. I'm not sure why transient exists at 2 levels but I
tried
Title: Long transactions and optimistic locks
I am attempting to read an object structure from Thread-A, modify it, and update the full structure using a call to the long transaction update( ) method. In the meantime, Thead-B queries for a read-only object which happens to be referenced in th
Hi,
Thank you for the prompt reply. I've tried ur method, but the problem
doesn't go away.
java.lang.NullPointerException
at org.exolab.castor.jdo.engine.JDOClassDescriptor.(Unknown
Source)
at
org.exolab.castor.jdo.engine.JDOMappingLoader.createDescriptor(Unknown
Source)
Thanks Bruce
Yes, I have, but quite frankly I haven't delved into that side of the world
too much. So I have to read up on it before I tackle it. My goal for the
next build (I am hoping 2 weeks) is to improve user documentation,provide
better build system and fix a few UI bugs. Meanwhile I am hopi
Hi,
Thanks a lot for such a tool, we'll give it a try for sure and provide
you some feedback.
Arnaud
> -Original Message-
> From: Mujtaba,Shelly [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 03, 2002 3:43 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] Announcing: O2XMapper Ma
Hi Boris,
I don't think you have a other option. The implements interface
TimeStampled simmulates the actual storing of that inforamtion
in the db. So to make use of that same object again, you need to
keep it. Getting the same object later again, will give it a new
timestamp.
The two solluti
What is it?
O2XMapper provides a user interface for Mapping Java Objects to XML. The
application allows user to import Java classes and map them to an XML schema
by generating a Castor XML mapping file. The tool performs series of
validations to ensure that classes and fields are correctly mapped.
HI,
>From the documentation, nested attributes are supported for jdo<->database
read & write.
Is there any support for jdo<->xml ?
I wrote a mapping file for my object containing nested attributes and tried
serializing, it seems to serialize it nicely. However, when I deserialize
the xml file, t
James Richardson wrote:
> James Richardson wrote:
>
>>
>
> If its any help, it appears to work fine in 0.9.3 ( which was the
> previous version I had )
>
> Thanks!
> James
>
> --- If you wish
> to unsubscribe from this mailing, send mai
James Richardson wrote:
>
If its any help, it appears to work fine in 0.9.3 ( which was the previous version I
had )
Thanks!
James
---
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
Hi,
Something seems to have changed recently in the handling of Any objects. Used to be I
got an object back when unmarshalling,
now I seem to get an AnyNode. I dont really know if this is a bug, or if I have to
recursively unmarshal the anyobjects or something.
In any case, I wondered if any
Hi castor fans,
I would like to thank Paul Christmann for its willingness to participate
to the Castor project and for having following our process when
submitting code.
Indeed Paul has written this new feature that we were talking about a
while ago on that same list: having the possibility to li
22 matches
Mail list logo