Hi ,
Thats where i am have a problem, i get a sytax error for such kind of query, can anybody tell me which way is correct.I mean can i refer to two object in the from clause or it is a must that we have to give one object at a time. Similarly is it correct to give more than one projectio
sorry for the re-post, but still experiencing the below exception:
org.exolab.castor.jdo.DatabaseNotFoundException: Nested error:
org.exolab.castor.mapping.MappingException: No class descriptor found for
extended class org.exolab.castor.mapping.xml.ClassMapping@60991f in class
prj.persistence.
Is this possible?
The
Hi,
I am having problems for upload relationships,
example: I create an Object F and I relation F with
Object B,C,D (F.addA(B)...), When I save Object F it
Works fine, but when I upload an Object F, it contains
as relationed objects, objects of the A class and
doesn´t contains objects of Classes
More details:
I apologize for not trying this *before* I posted, but it didn't occur to me
until just after.
When I comment out the '
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 6:05 PM
Subject: [castor-dev] DataObjectAccessException with cause not set
> Hi -
>
> My application is
Hi -
My application is throwing an exception where it used to work. The
exception is as follows:
org.exolab.castor.jdo.DataObjectAccessException: Field invocation error
I say it "used to work", what's changed is that I've added a lot of fields
to the class and to the mapping. I see from the ca
THANK YOU!!!
I created a DataSource which referenced the Connection Pool from the
Weblogic Console and then used
In the castor mapping file!!
Yippee!! And Much Thanks
-Original Message-
From: Cesar Ogalde [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 1:03 PM
To:
Hi David,
I looked into the issue a bit more after creating a simple test
case...the following workaround should do the trick for you:
Since Castor deals with collections incrementally, the "underlying"
FieldHandler is expecting to recieve one item at a time during
unmarshalling.
So the collect
Hi I have two complex type defined as follows:
and
continuousCCAuthority or
directDebit
Similarly in another shema I have defined an object (customer) which can
have multiple accounts. Each account has it's own madate object, and hence
account1
Thanks Keith, it works fine - regards,kumar.--- On Wed 01/29, Keith Visco < [EMAIL PROTECTED] > wrote:From: Keith Visco [mailto: [EMAIL PROTECTED]]To: [EMAIL PROTECTED]Date: Wed, 29 Jan 2003 13:52:10 -0600Subject: Re: [castor-dev] Mapping exceptionSounds like a CLASSPATH issue. Make sure the cas.f
I un-retract this comment. Is there any way to get Castor to use the
getDate(int col, Calendar cal) method so that I can specify a timezone?
Thanks,
Bob
Bob Lee wrote:
Scratch this question; it occurred to me that Castor probably just
passes along the Data object returned by the ResultSet. Sorr
Sounds like a CLASSPATH issue. Make sure the cas.fap.yun.ExampleBean is
in the classpath.
If you're running inside of an AppServer you may need to pass in the
appropriate class loader:
ClassLoader cl = cas.fap.yun.ExampleBean.class.getClassLoader();
Mapping mapping = new Mapping ( cl );
mapping
Hi Tim,
Not sure how I missed this e-mail the first time around...apologies...
The AppInfo is not currently enabled in the schema reader. It used to
be, but was then disabled temporarily when some changes were made to the
set of readers and never re-enabled. It'll be fixed soon in CVS and
availa
without more info, it's difficult to say, but double-check to make sure
that the class is on the classpath.
At 13:54 03/01/29 -0500, you wrote:
My mapping.xml file is unable to find the class name (even though i
provided the full package structure)
I was trying to marshall it and got exception
Hi David,
Great e-mail, I appreciate the level of detail. I'll take a look into
it. Looks like I overlooked collections a bit when integrating the
GeneralizedFieldHandler. Sorry about that. It definately looks like I'll
have to make some changes to prevent the CollectionHandlers from getting
in t
Coutts, Danelle escribió::
I did create the connect pool, testpool, in the weblogic console -
I have used the connection pool using straight sql but am now trying to use
it in castor.
-Original Message-
From: Cesar Ogalde [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 10:
My mapping.xml file is unable to find the class name (even though i provided the full package structure)I was trying to marshall it and got exception Exception = org.exolab.castor.mapping.MappingException: Nested error: org.exolab.castor.mapping.MappingException: Could not find the class cas.fap.
Coutts, Danelle escribió::
I did create the connect pool, testpool, in the weblogic console -
I have used the connection pool using straight sql but am now trying to use
it in castor.
-Original Message-
From: Cesar Ogalde [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 10:
I mailed a week or so back about this. Anybody got an idea where the probelm
may be ?
When you have a schema with appinfo elements containing further XML, the
marshaller seems to lose track of the XML in the app info, and as a result
the structure is lost. I think it's to do with the way child an
Title: Message
Hi,
Not
wrong you can use it. But i never do this. I this this will be
valid:
select a from example.A a, example.B b where a.field1 =
b.field1
Good
luck! :)
-Original Message-From: t tuf
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:49
PM
Title: GeneralizedFieldHandler used with Collection, possible?
Hi there!
I would like to have a collection of objects that are marshalled/umarshalled to/from XML with an handler or some other mechanism without handling the collection myself. For example, I would like to have a collection of
I did create the connect pool, testpool, in the weblogic console -
I have used the connection pool using straight sql but am now trying to use
it in castor.
-Original Message-
From: Cesar Ogalde [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 10:27 AM
To: [EMAIL PROTECTED]
S
Coutts, Danelle escribió::
I am trying to use weblogic connection pool with castor but can't seem
to get the configuration right.
I first got the castor working with direct access to the database my
configuration was
Then I switched the configuration to point to a weblogic con
Title: Message
I am trying to use
weblogic connection pool with castor but can't seem to get the configuration
right.
I first got the
castor working with direct access to the database my configuration
was
Then I switched the
configuration to point to a weblogic connection pool
There are a number of good links here: http://castor.exolab.org/presentations.html
--Erik
> -Original Message-
> From: Wiechert, Holger [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 9:11 AM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] cast
Scratch this question; it occurred to me that Castor probably just
passes along the Data object returned by the ResultSet. Sorry about
wasting your time.
Thanks,
Bob
Bob Lee wrote:
Is there any way to control which time zone Castor uses when mapping
database fields (without timezone informatio
Arnaud BOULAY escribió::
Bugzilla Bug 1107
Hello !!!
As Yannick Menager and Neil Aggarwal I have this exception too.
It occurs sometime after a batch of treatment (it's a web wpplication
running with Tomcat4 and Struts).
It's a big problem for me. The code have bee
This one time, at band camp, t tuf said:
tt>
tt>HI Efimov,
tt>I actually thought the same thing initially, but the syntax grammer page specifies
( from what i understood) that the fromClause can have more than one
iteratorDefinitions. Did i get the definition of fromclause wrong...?
tt>
tt>Than
I'm new to castor and spent around a day for finding information
about how to use it. So I read all docs from the Exolab-Castor-Site.
I guess that I ran into the same problems as all newbies.
Is there something like a tutorial or a list of links to
the relevant documentation required for more than
Bugzilla Bug 1107
Hello !!!
As Yannick Menager and Neil Aggarwal I have this exception too.
It occurs sometime after a batch of treatment (it's a web wpplication
running with Tomcat4 and Struts).
It's a big problem for me. The code have been checked during 1 week and I
must give the app to my cust
hi bruce,
i looked in source of castor what is happen, when i call
db.commit():
org/exolab/castor/jdo/engine/DatabaseImpl.java
public void commit()
throws TransactionNotInProgressException,
TransactionAbortedException
{
:
finally {
try {
_ctx.close();
HI Efimov,
I actually thought the same thing initially, but the syntax grammer page specifies ( from what i understood) that the fromClause can have more than one iteratorDefinitions. Did i get the definition of fromclause wrong...?
Thanks,
Alexey Efimov <[EMAIL PROTECTED]> wrote:
Hello,
Hi,
I've been having a problem when using exclusive access, in that once every 200
or so logins of a user, Castor would report an attempt to load the user object
twice in different modes in the same transaction.
After much debugging, I believe the following code fragment from LockEngine.java
l
Hello,
You can use select to retrive only one object (or
object field) - this is OQL restriction. You must:
String oql = "select o from example.A o where a.filed1 = $1";
OQLQuery query =
database.getOQLQuery(oql);
query.bind(b.getField1());
QueryResults rs =
query.exec
Hi i am trying to open a database connection using JDO(JNDI
lookup).I am getting the following error.
java.lang.ClassCastException
I am using the code below.
InitialContext
ctx;Database
db;
ctx = new InitialContext();db = (Database)
ctx.lookup( "java:comp/env/jdbc/UCCNETAPP"
Title: Message
I have two simple tables,
product and category, that has a 1-to-1 relation.
product has a column named
category_id which maps to table category (id).
category has 2 columns: id,
name.
Part of the mapping.xml looks
like this:
...
snip
...
snip
36 matches
Mail list logo