Just set the following property to true in castor.properties :
# True if all documents should be indented on output by default
#
org.exolab.castor.indent=true
Ludovic Bertin
-Message d'origine-
De : Marc Jenzer [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 9 avril 2002 08:04
À : [EMAIL PROT
Hello
How can I format (space or tab indent for the tags) the data by marshalling?
Thanks in advance
Marc
---
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
we actually did encounter this 4K problem when we were using toplink 2.7.x
and there was no elegant solution (sol. suggested by toplink was ugly).
so at the end we implemented our own solution, which is breaking down the CLOB
every 4K, save the clob together with an additional sequence number in t
dear all,
i found that there are two ways in getting the underlying JDBC Connection.
1.
> conn =
(Connection)((org.exolab.castor.jdo.engine.DatabaseImpl)db).getConnection();
or:
2.
> conn = org.exolab.castor.jdo.engine.DatabaseRegistry.getDatabaseRegistry(
>myJDO.instance().getData
ah, okay, thanx for the quick response
I was not using the latest CVS version, I will let you know if the problem
would persist
regards.
Wouter.
-Original Message-
From: Keith Visco [mailto:[EMAIL PROTECTED]]
Sent: maandag 8 april 2002 21:37
To: [EMAIL PROTECTED]
Subject: Re: [castor-de
Hi. I'm trying to build IDL for a Java interface that uses Castor
types, using Sun's rmic.
It works fine when I don't use Castor types, but when I add, for
example, the following line to the interface:
public MyCastorObjectType getMyCastorObjectBytId(String id);
where 'MyCastorObjectType' is
DB2
does not support the "*=" syntax for outer - joins (which acutally your
error-code means).
I
had a quick look at the Implementation of the JDBC expression.
The DB2QueryExpression doesn't overwrite the generation of the sql-clause
syntax when using outer-joins. Its just not
implemente
Hi Wouter,
Have you tried the CVS version? Arnaud applied some fixes to the
container support that may solve the problems you are seeing. If you are
already using the latest CVS, then we'll need to look into it further.
Thanks,
--Keith
[EMAIL PROTECTED] wrote:
>
> Hi,
>
> I was wondering w
There is a limitation regarding the use of stream input for LOB types.
Stream input for LOB types can only be used for 8.1.7 JDBC OCI driver
connecting to an 8.1.7 Oracle server. The use of stream input for LOB types
in all other configurations may result in data corruption. PreparedStatement
stre
Hi,
I was wondering what to do with the following issue I am having:
When unmarshalling an XML document into Java Objects everything seems to go
fine, except for some elements which have a quite complex definition in the
XML Schema. The Schema is too large to post, so I will keep it to some
simp
Title: Marshaling/unmarshaling Collection of Strings. (pbs)
Hello,
I am having some problems unmarshaling
collection of strings.
I have tried both with Vector of Strings
and Array of Strings with the same error
when unmarshaling.
An in each case I have used a Mapping files
(I tried the diffe
Hello,
i use Castor JDO for storing my objects in a DB. It's very useful for me to
have dependent objects. You only have to do one db.create() and all objects
are made persistent. The problem is, that almost in every object i've fields
that refer to one class which holds language dependent string
I'm searching the fastest method to use unmarshal.
I can use org.w3c.dom.Node or Reader in my application. Which is the fastest
method to use unmarshal ?
Thanks
Didier Rano
Forwarded with Changes ---
From: Didier Rano-FX02248 at _LADPO16
Hi,
I have found a quite nasty bug. It only appears when using DB2 7.2 and
trying to map a String onto a longvarchar field: whatever length my string
had, it always was truncated at 255 characters in the database (without any
warning or error message).
note: maybe (I'd say probably) other versions
I have some problem running the examples with DB2. DB2 does not accept the SQL string generated by the OQL query. I think my problem depends on driver I use (COM.ibm.db2.jdbc.net.DB2Driver). Any suggestion are welcome.
What drivers do work properly with DB2?
Thanks in advance.
Here is the stack t
Hi Keith and other friendly member of the list
Thank for your help. But I still have a problem, cause then I try to get
the object, Y receive a cast error. My database has a
'date' and I need to create an object 'mydate'.
Is there any way to do it?
Thanks again.
__
Hi,
I am fairly new to Castor myself but it looks like the class you are
mapping is not available to Castor's class loader - make sure it is in
the CLASSPATH and that it is spelt correctly and you are fully
qualifying it (i.e. Package.Class if necessary)
I agree - Castor is extremely useful by t
Question: does the mapping file refer to a java class that is in your
classpath?
if you only have your mapping file defined and not your class then you will
have to code the corresponding java bean, if you're lazy (which is my case)
you can always use the source generator found in Raccoon that co
18 matches
Mail list logo