I having a query on a table that maps to another
table as a lookup. One of these fields always returns null ;although all the
other fields are properly populated from the table. When I update data in the
main table the null is then written back and I loose my actual data!
Has anyone seen
-- Forwarded message --
Date: Wed, 1 May 2002 17:39:37 -0700 (PDT)
From: rudy rouhana <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] does anyone know how to make a database
connection through a DataSource?
I am not subscribed to
Is there any way to make some tables in a mapping
read only ?
I have a main table which has various foriegn key
references to lookup tables. I would like to be able to 'lock off' the lookup
tables from writing when updating the main table ...
I had tried using database permission but this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alright, alright... I'll skip the pluggable lock engine. If I'm the
only one who wants it, then it doesn't make sense. I'm still going to
work on the object removal from the cache, and make sure the lock
engine is involved in that process. (Just re
This one time, at band camp, Mark Seveska said:
MS>hello,
MS>I am trying to connect to mysql through the DataSource interface. The reason
MS>for this is because I am
MS>writing my own connection pooling mechanism and will be using the DataSource
MS>interface in my connection pool code. I was wond
Assuming the banks attribute on user is mapped as "banks" (with getBanks()
and setBanks()...) and you want to search based on a field named "id" in the
Bank object, then do this use this OQL:
"SELECT u FROM User u WHERE u.banks.id = $1"
If doing queries across n:n mappings be sure that the sql e
Title: Message
Castor Development Community,Any word on when the more
advanced OQL functionality will be in place? I'm currently doing some
prototyping, and would like to be able to limit the number of dependent objects
that are returned in a graph. For instance, consider the following grap
hi
I have 2 classes
Bank and User
A User can has a collection of banks
When I query for a user , I get my banks ArrayList as expected
I am wondering if there is a way to query for users that have a certain
bank ?
thank you
My vote, if I have one, is for performance optimization on the 1 to many,
many to many queries.
"Thomas Yip"
hello,
I am trying to connect to mysql through the DataSource interface. The reason
for this is because I am
writing my own connection pooling mechanism and will be using the DataSource
interface in my connection pool code. I was wondering if anyone had
experience with this. When I try to connect
I would definitely go for adequate performance (master/detail without n+1
queries) before distributed cache or pluggable lock engine if I have any
vote.
Cheers
-Original Message-
From: Ned Wolpert [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 7:44 AM
To: [EMAIL PROTECTED]
Subj
> From: "Thomas Yip" <[EMAIL PROTECTED]>
> Date: Wed, 1 May 2002 12:09:39 -0700
> It seems to me you should have your own implementation
> of LockEngine. I am pretty sure it is much easier than
> design a pluggable architecture.
Yes. That is exactly what I'm looking for. The Lock Engine shoul
To be very
frank. I don’t see immediately need
of doing
those things, even for the points I agree.
I think
getting what is in the commonly request list is
enough for
me to worry. If those are not done, I don’t
really see
people are going to keep using Castor JDO
in the
futu
hi,
i am trying marshal/unmarshal multiple instances of same object into a single
xml file.
i used vector and put all the instances of object and tried to
marshal/unmarshal. it worked fine
for first instance and rest of them were empty nodes.
is there a way i can achieve this in Castor XML wi
>If we're only looking at removing objects
>from the cache, then you are correct.
First, I don't see value of having distributed
cache right now. That's so much more things
to optimize. That will give much more noticeable
different. If you are talking about very long term,
then I really not
Hi Kate,
You can't do that directly through the Marshaller API but you can do it
by instantiating your own serializer, setting the indent property and
then pass it to the Marshaller.
Arnaud
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of
Kate
> Ros
Hi Florian,
>
> I have been using Castor SourceGenerator for a while now and have find
it a
> great tool.
Thanks ;)
>
> However I have encountered the following problem when using
SourceGenerator
> to
> generate code from the following schema (BTW: I have no control over
the
> schema
> I *mus
Is there a way to programmatically turn indenting on/off
before a marshall() ? I don't see any obvious API access
through Marshaller, or other classes in castor.xml.
Kate Rosenbloom
Santa Cruz, CA
---
If you wish to unsub
One subscriber made this inquiry. Might this help?
> I would like to know if it is possible to marshal a Castor object
so
> that the XML header block ("") is not produced?
http://www.mail-archive.com/castor-dev@exolab.org/msg04184.html
-Original Message-
From: Derrick Pisani [mail
Hi.
I have been using Castor SourceGenerator for a while now and have find it a
great tool.
However I have encountered the following problem when using SourceGenerator
to
generate code from the following schema (BTW: I have no control over the
schema
I *must* use it as is):
http://www.w3.org/20
This one time, at band camp, paul brockmeyer said:
pb>i want to keep my maps in a more private location (like my WEB-INF
pb>directory) as opposed to making it publicly accessible. i've tried things
pb>like:
pb>
pb>mapping.loadMapping(file://www/mysite/WEB-INF/myMap.xml);
pb>mapping.loadM
Ok... My mail I sent yesterday didn't get through... here it is again...
Thomas-
I can agree that simple replacement of the LRU isn't all that is
needed... and that 'removal' of objects is more of a suggestion to the
LRU than a demand due to locking. Furthermore, I do also agree that
the polic
I have done it for the database.xml file by using
ClassLoader.getSystemResource( "..." ).toString(). However, I think that
access to this may be limited by the policy files defined by the particular
J2EE server you may be using...
I have not tried it specifically with the mapping files.
Basica
i want to keep my maps in a more private location (like my WEB-INF
directory) as opposed to making it publicly accessible. i've tried things
like:
mapping.loadMapping(file://www/mysite/WEB-INF/myMap.xml);
mapping.loadMapping(/www/mysite/WEB-INF/myMap.xml);
but it can't find it ...
so f
Hi.
I have been using Castor SourceGenerator for a while now and have find it a
great tool.
However I have encountered the following problem when using SourceGenerator
to
generate code from the following schema (BTW: I have no control over the
schema
I *must* use it as is):
http://www.w3.org/20
The functionality of "MBean Server" is to:
1. Load configuration
2. Load components with dependencies.
3. Initialize
4.Start/stop/monitor.
Currently this functionality located in jdo.JDO, jdo.engine.DatabaseRegistry, jdo.engine.JDOMappingLoader.
The main component is SPI provider. It implemen
26 matches
Mail list logo