This one time, at band camp, Thomas Yip said:
I agree with most of the discussion about the status of Castor JDO
being stagnant for a while now.
As for on-going development, most of us have just been dealing with
life. Personally, over the last year I've been laid off twice from
the dot com bust
Looks like a classpath problem.
If you are using Castor inside an application server or servlet engine
make sure you set the ClassLoader for the Mapping.
Mapping mapping = new Mapping( Canal.class.getClassLoader() );
--Keith
zze-BINTEIN Charly FTRD/DMI/CAE wrote:
>
> > Excuse
But the problem you are having is not with Castor per se... That
"NoInitialContextException" means that the JVM in which you are running was
not able to obtain an InitialContext object (which is the beginning of all
JNDI operations). So basically your environment is not set up properly to
perfor
Matthew,
I understand your concern. However, the fact is I reviewed many
patches and gave comments to most of them in the past.
If you believe I am the one who not letting good patch come in,
feel free to grab them and apply it. Or even start another one
base on all current patch.
As I already
Thanks All is well in the marshalling world now!
Question: If I then want to UNmarshall this resultant XML instance, do I
need a mapping file, and if so, what should it look like to account for the
root class of array, yet still have a class entry for the WorkRequest class?
Thanks again!
Hi Paul,
You should set the Author class to public and it might help you.
Arnaud
> -Original Message-
> From: paul brockmeyer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 24, 2002 10:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] marshalling nested objects
>
> sorry,
O sorry for not being more clear on this.. but I'm running the app server on
the same machine
-Original Message-
From: Ebersole, Steven [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 12:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] DataSource through JNDI?
Are you r
sorry, should've been more clear ...
nothing even that complicated--i've just got something like this:
--
public class book {
private String title;
private Author author;
public File toXML() {
...
}
}
---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Date: Wed, 24 Apr 2002 10:15:38 -0700
> From: "Matthew Baird" <[EMAIL PROTECTED]>
>
> Your posting outlines the major problem. Search the list, the
> typical exchange looks like this:
>
> someone: I want to fix the cache to allow distributed mode.
Hi David,
Take a look at Marshaller#setMarshalExtendedType, it controls the output
of xsi:type when Marshalling extended classes.
However you can't remove all xsi-types attributes since they are used by
Castor during the unmarshalling. We tried to keep the output of xsi-type
to the minimum but so
Your posting outlines the major problem. Search the list, the typical exchange looks
like this:
someone: I want to fix the cache to allow distributed mode. (or more generic, I want
to change castor to support X feature)
thomas: wait for big refactoring.
Let's be realistic, that big refactoring
Hi Paul,
What do you mean by nested object? Do you mean inner classes?
Can send us a test case that demonstrates what you try to achieve?
Thanks,
Arnaud
> -Original Message-
> From: paul brockmeyer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 24, 2002 8:32 AM
> To: [EMAIL PROTEC
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> From: Matthew Baird <[EMAIL PROTECTED]>
> Date: Wed, 24 Apr 2002 08:48:09 -0700
>
> Something that really held up development was; Everytime a change was
> requested/proposed, someone would talk about the big refactoring and
> architecture change t
Hi Steven,
I'm not quite sure, but I think "many-key" and "many-table" are exclusive.
You can either use "many-key" for 1-m mapping or "many-table" for n-m
mapping. That is my understanding so far.
Greetings
Christoph
---
If you wish to u
Are you running this on the same box as the app server? Doesn't sound like
it.
If not, you need to point java to that app server. The easy way is to do
the following prior to trying to init Castor:
< use appropriate values! >
System.setProperty( Context.PROVIDER_URL, "t3://myserver:7001" )
Hello.
I have a interesting problem with castor right now.
First the tables:
- Meeting having a id called ItemID and various other fields.
- Person having a PersonID and additional information.
- and a table called Meeting2Person with
- ItemID as foreign key to Meeting and primary key
- P
I'm getting this following output when i call _jdo.getDatabase , and I'm
pretty sure the JDO is valid
[test] org.exolab.castor.jdo.DatabaseNotFoundException: Nested error:
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet paramet
Anyone?
Steve Ebersole
IT Integration Engineer
Vignette Corporation
512.741.4195
Visit http://www.vignette.com
-Original Message-
From: Ebersole, Steven [mailto:[EMAIL PROTECTED]]
Sent: Monday,
It seems to me that the following administrative changes would simplify
things considerably
1) Split the JDO list from the XML list.
2) Split the JDO list into a "dev" list and a "user" list
Talented, experienced programmers like Bruce, Thomas, the Kevins etc
(apologies to anyone I missed by n
I use a JNDI DataSource in my database.xml and then bind the resulting JDO
object into JNDI. Works fine for me. What is the problem you are having?
Steve Ebersole
IT Integration Engineer
Vignette Corporation
512.741.4195
Visit http://www.vignette.
IMHO You can implement it yourself by patching source code
Another interesting thing is how to implement polimorphism using OQL query
Could someone tell me if OQL (originally) has any special for such
situation:
Suppose we have
C
^
With Castor, do I have any control over whether the xmlns:xsi and xsi:type attributes
are generated during marshalling?
How do I control it?
Thanks,
David
--
David Renton
National Leisure Group
[EMAIL PROTECTED]
617-587-6249
--
Something that really held up development was; Everytime a change was
requested/proposed, someone would talk about the big refactoring and
architecture change that was coming (Someone else mentioned this point
already). I don't think this refactoring/arch change is coming for a LONG
time, unless T
Title: RE: [castor-dev] : CastorJDO & TogetherControlCenter
For the moment, it does not seems to work.
In the generated XML file, all attributs are missing !
I use TCC6.0
I will see with the man who wrote the TCC module tommorrow.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailt
I'm trying to marshall a Java object into XML with castor 0.9.3.9.
This object has a nested object, which I'd also like to appear in the xml.
Is there a way to do this with castor? Hate to ask, but if not does anyone
know of a similar Marshalling tool that provides this functionality?
Thanks.
> Excuse me i have a little problem
>
> I have my files mapping.xml and database.xml in the directory
>\categorization\defaultroot
> but my classes are in the directory
>\categorization\classes\com\francetelecom\categorization
> and when i'm parsing the ma
Hi,
Does anyone have any luck using JDO through a DataSource lookup from the
JNDI tree?
I've read the postings on retrieving a JDO from JNDI, and I've gotten that
part to go...
but I can only specifiy a driver in my database.xml,
not a DataSource from JNDI...
any pointers would be great!!
than
If you get to work let me know. Are these modules sensitive to the version
of together.
Erik Gollot
Lately my project at work has been in release mode so I've had
little extra time to do much of anything else. However, the release
is almost done (phew!).
Myself and others are currently working to:
1) improve the documentation
2) improve the code base
3) keep up with the mailing list
Improving
Title: RE: [castor-dev] : CastorJDO & TogetherControlCenter
thanks !
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 24 avril 2002 16:22
À : [EMAIL PROTECTED]
Objet : Re: [castor-dev] : CastorJDO & TogetherControlCenter
I just did a sea
I just did a search of the archives.
The module is at this link http://sourceforge.net/projects/togmap
I haven't tried it yet but may in the next couple of days.
Kevin
I have created a bugzilla enhancement ID 917 with a patch which
adds an option to the Marshaller so that outputing namespace declarations
for elements can be disabled.
Regards,
Glenn
--
Glenn Nielsen [EMAIL PROTECTE
Title: [castor-dev] : CastorJDO & TogetherControlCenter
Few months ago,
someone said me that he/she has developed a TogetherControlCenter module to automatically generate the JDO mapping file from a class diagram.
I've forgotten the pointer ! :-(
Do you have it ?
Thanks.
::
Gollot Eri
33 matches
Mail list logo