Hi Chris,
Can you open up a JIRA report on this issue?
Please see our issue reporting page here:
http://castor.codehaus.org/cvs.html#Issue-Reporting-and-Tracking---JIRA
Thanks,
--Keith
ELVART, CHRISTOPHER (SBCSI) wrote:
I have a class with a boolean field and if I let the mapper discover
Steven,
It's probably not the best solution, but you can use the getFieldDescriptor()
method of AbstractFieldHandler (GeneralizedFieldHandler) to find out about the
which field is being processed and you can do the proper padding as necessary.
--Keith
[EMAIL PROTECTED] wrote:
Hi folks,
Hi Gilad,
Does the same problem occur when you generate the source using the type-centric
approach?
http://castor.codehaus.org/sourcegen.html#The-'type'-method
--Keith
Gilad Haimov wrote:
Hi all,
We use Castor to bind XML configuration data to our Java app.
Our XML data contains an
Hi again!
Thanks for the tip.
I looked and found some discussions about serailizing boolean as 0/1 pair
which is more or less the same as my problem. I tried to create my own
FieldHandlerFactory (note 1 below) and add it to the ClassDescriptorResolver
(see note 2 below), but I can't get it to
Hi Bill,
this should be possible but as far as I know there is no example
available yet. I'll try to take a look at our examples to see if they
can be improved in that way during the next days. I'll come back to you
with my findings.
Regards
Ralf
Bill Leng schrieb:
Hi,
I used XML source
Hi Steven,
adding parameters that should be passed to a FieldHandler to field
mapping should be easy but I don't know if there are any difficulties to
pass them to the FieldHandler at construction. As I never worked at
FieldHandlers myself I don't know if an own instance is created for
every
Hello
I'm using castor 0.9.9.1 with a mapping file (AB-binding.xml). The
mapping file has an include element that points to another mapping file
with the mapping definition of the common classes in my project. The
problem is that Castor can't find the mapping file so it uses the
default mapping
Hi Siva,
as far as I remember discussions on the mailing list, CDATA sections
should be possible. Please search the list yourself on how to do it. I
think the following howto will point you in the right direction:
http://castor.codehaus.org/how-to-unmarshal-raw-xml.html
As Castor marshaller
Thanks for your valuable response.
-Original Message-
From: Ralf Joachim [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 6:25 AM
To: user@castor.codehaus.org
Subject: Re: [castor-user] FW: Clarification
Hi Siva,
as far as I remember discussions on the mailing list, CDATA
Keith said...
It's probably not the best solution, but you can use the
getFieldDescriptor() method of AbstractFieldHandler
(GeneralizedFieldHandler)
to find out about the which field is being processed and you can do
the
proper padding as necessary.
This sounds OK to me. You could just
Hi Alex,
sysdatabases seam to be treated different then other tables in sybase.
Searching the web I found references where 'master..sysdatabases' has
been used. As I never worked with sybase and have no access to one I can
not tell you what goes wrong here.
If you'd open a new issue in jira and
Steven/Chris-
To answer the last question, yes, if you use a FieldHandler to wrap
data in CDATA blocks, the serializer will escape the leading
character(s). The way to get around this has been discussed recently
on the list, but basically consists of instantiating your own
XMLSerializer and
Hi Alex,
Castor do not support build in functions in mapping nor for return
columns. They can only be used in where and order clauses. The only
possibilities I can see are:
- use passthrough sql queries
- define a view (stored query) if sybase supports something like that
instead of mapping
To answer the last question, yes, if you use a FieldHandler to wrap
data in CDATA blocks, the serializer will escape the leading
character(s). The way to get around this has been discussed recently
on the list, but basically consists of instantiating your own
XMLSerializer and configuring
Hi Ralf,
Thanks for the response. I found the problem was that I forgot to put
the database name in the JDBC URL.
Even the database name is in JDOConfFactory.createDatabase and
jdoManager.createInstance calls.
Alex
Ralf Joachim wrote:
Hi Alex,
sysdatabases seam to be treated different
I have created a JIRA issue for this...
http://jira.codehaus.org/browse/CASTOR-1404
Thanks,
Chris Elvart
ATT
-
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
I'm working with the 1355 patched, trunk codebase (as of 4/16) and althought
the 1355 patch no longer requires all independent, lazy-loaded objects to be
loaded in a relationship tree, read-only queries are now resulting in updates
to the objects at the time db.commit() is called. This is
17 matches
Mail list logo