Hello,
I'd like to propose an addition to the Castor interface to assist in
what I feel should be a relatively common need: developer transaction
synchronization.
Basically, if you want to implement MFC, you need to propagate changes
from the Model (persisted objects) out to various Views (State
Title: namespaced element ref's - bug?
Thanks
Arnaud.
Should
I raise it in Bugzilla?
Perryn Fowler
-Original Message-From: Arnaud Blandin
[mailto:[EMAIL PROTECTED]]Sent: Friday, June 21, 2002 1:15
AMTo: [EMAIL PROTECTED]Subject: Re: [castor-dev]
namespaced element ref
Keith,
There is code to deal with base64 in UnmarshalHandler, but that is at the
element level. There is no byte[] handling for the character content.
Thanks,
Pratibha
Keith Visco wrote:
Hi Pratibha,
There is already code in the UnmarshalHandler to deal with base64 and
byte[]'s. So if du
Hi Pratibha,
There is already code in the UnmarshalHandler to deal with base64 and
byte[]'s. So if during unmarshalling it's not entering that block of
code then we need to figure out why.
I'll double check this later to see if I can duplicate the issue.
Thanks,
--Keith
Pratibha Gupta wrote:
Hi Howard,
Try moving the reference="true" to the element, not the bind-xml
element.
--Keith
howard fraser wrote:
>
> Hello
>
> I am marshalling a set of objects to XML using reference and identity
> attributes to allow object instances to be shared. The resulting XML looks
> correct to me
It seems weird that your namespace that is being output is
http://castor.exolab.org, can you please show me the mapping file you
are using?
Thanks,
--Keith
> "Romilson C. Carvalho" wrote:
>
> I think ns prefix contains a bug.
>
> There are no way to force castor to remove ns prefix of final
Hi Romilson,
Sorry for the troubles you are experiencing. Would it be possible for
you to send a complete example (as small as possible, please) that
demonstrates the problem so that we can see first hand what is
happening?
Thanks,
--Keith
> "Romilson C. Carvalho" wrote:
>
> Hi,
>
> Castor
Hi Group. I'm having a problem executing a SQL CALL from Castor. If anyone here has
some experience with this please drop me a line.
ERROR:
java.lang.IllegalArgumentException: Only 0 fields in this query
at org.exolab.castor.jdo.engine.OQLQueryImpl.bind(OQLQueryImpl.java:153)
Title: Message
Hi
Arnaud,
I
might be missing something, but in example I provided types.package is not
generated at all. All packages are generated in enumtest. Also MyString is not
enumeration itself
anyway, but error message clearly shows it's expected to be there. "import types.MyString",
How can I force an XML element to use the CDATA type? I want to enclose
some HTML formatted text inside an XML element like this:
![CDATA[laah ditty dahh]]
(CDATA is not currently included)
Is there a way I can set this in the mapping.xml? Here is my current
mapping for this object:
Hi,
Castor (0.9.3.19) continues putting ns prefixes in
my document.
I only has changed the version ( 0.9.3.19 by
0.9.3.9 ) and the ns prefixes was removed.
The old version seem is better in this
case.
Marshalling in 0.9.3.19 version:
FileWriter fw = new
FileWriter( this.documentF
Did you checked it in 0.9.3.19 Castor version ?
this is my code :
FileWriter fw = new FileWriter( this.documentFile );
Marshaller marshaller = new Marshaller( fw );
marshaller.setMapping( this.mapping );
marshaller.setSchemaLocation( "http://www.metamodel.com/storage " +
In order to obtain 2pc between MQ and a database, you will need
a transaction monitor. A you don't want to use an application
server, I would suggest using Tyrex (see exolab site ;-) ).
I successfully made XA transactions between MQSeries and DB2. Some
of the steps needed are :
- define your dat
animal.xsd
---
http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified">
dog.xsd
-
http://www.w3.org/2001/XMLSchema"; elementFormDefault="unqualified">
DogTest.java
---
import org.exolab.castor.xml.Marshaller;
import java.io.
I think ns prefix contains a bug.
There are no way to force castor to remove ns
prefix of final document xml.
setNamespaceMapping("","my-uri") not
function
setNamespaceMapping(null,"my-uri") not
function
declareNameSpace(..) is private
My schema (xsd) is correct.
Castor put
htt
Chris, you are a bitch.
T
- Original Message -
From: Chris Cook
Sent: 6/10/2002 11:01:11 AM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Beginner question
> I'm trying to map a Java class into two database tables and was wondering if
> that is supported using Castor.
>
> For example I h
Title: Troubles configuring SEQUENCE keyGen with Oracle9i
Hi,
I have defined following simple mapping:
http://castor.exolab.org/mapping.dtd">
identity="id" key-generator="OPTIO_AUTOGEN">
17 matches
Mail list logo