This one time, at band camp, Eric Hunt said:
EH>I've posted this before, but never really got anywhere with it.
EH>
EH>Is anyone out there successfully using the key generator for Oracle? Before I
elaborate at length, I wanted to have a sense that someone has already come across
this problem.
This one time, at band camp, Alexandre Hoang said:
AH>I use MS SQL Server and I have a table named "MyTable", whose primary key is
AH>a "triple key".
AH>Well, may be that's not the right vocabulary, but I hope you'll see what I
AH>mean:
AH>- The columns in "MyTable" are: "ID1", "ID2", "ID3", "Desc
Hi all,
I've posted this before, but never really got
anywhere with it.
Is anyone out there successfully using the key
generator for Oracle? Before I elaborate at length, I wanted to have a
sense that someone has already come across this problem. Pls let me know
if you have any experie
Terry,
What is the path of your database mapping file? I was using
"/com/opendemand/jdo/database.xml", and this file is located in a jar file
under WEB-INF/lib.
Steve
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 6:53 PM
Subject:
Did
you ever get the TransactionManager thing working in Websphere. Its straight
forward in Weblogic, BES, and Jboss. Or do I have to modify
the
JDO.java class to support this.
sudhir
-Original Message-From: Matthew Baird
[mailto:[EMAIL PROTECTED]Sent: Thursday, March 06, 2003
Keith,
That wasn't a problem with the latest 0.9.3.4 build available after all.
My ant build file was referring to the older castor file from 01-06-03
CVS snapshot that were producing unexpected results.
mymarshaller.setNamespaceMapping("ns1", "http://foo.com/schema1";);
works as you said earl
We are using WAS 4.x.. If both the config files are in the same directory
as the class that is loading the JDO you should have no problem. Assuming
your initialization code looks like this from the examples?
_mapping = new Mapping( getClass().getClassLoader() );
_mapping.setLogWri
make sure you remove the copy of castor that ships with jboss if you are trying to use
a newer library.
-Original Message-
From: tek1 [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 10:12 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] castor - validation problems :(( [with JB
on a
related note: how did you get the JTA in websphere to play nice with castor? In
JBOss there is a connector via JMX, what do I do in
websphere?
-Original Message-From: Stephen Ince
[mailto:[EMAIL PROTECTED]Sent: Thursday, March 06, 2003 11:59
AMTo: [EMAIL PROTECTED]Subjec
Hi Syed,
>
> Thanks again for the prompt reply. Here is the code snippet that shows
> how I attempted to serialize a castor generated java object:
>
> Marshaller mymarshaller = new Marshaller(new PrintWriter(System.out));
> mymarshaller.setNamespaceMapping("ns1", "http://foo.com/schema1";);
> /
Hi Duncan,
See inline...
Duncan Hoyle wrote:
>
> Hi
>
> Can someone please help me understand the problem here. I've read the
> archives and they suggest that I need to use setNamespaceMapping so I
> have. The xml appears to unmarshal ok (except for the xml:lang problem)
> but the marshalled
Hello, I have been struggling for several hours trying to get Castor to
use different names for the complex type classes (which end up in a
.types package). Is this possible? Or am I stuck with the names it
decides to use?
I have tried playing with a binding to change the classname, but so far
I
Hi Daniel,
I think your problem is here:
>
> # An implementation which uses the Jakarta RegExp library
> org.exolab.castor.regexp=org.exolab.castor.util.JakartaRegExpEvaluator
>
> # Uncomment the following to basically supress evaluation of Regular
> expressions
> org.exolab.castor.regexp=org.
Hi Daniel,
It could be great if you could isolate the problems sending a small
schema and a small piece of code that demonstrates the problem...even
better if you write a CTF test case, it will be easier for us to debug
it.
>From the information below I can't really help you: min/maxLength are
wor
Hi, Bruce.
It comes to me that I must clarify some facts first:
Tamino is a native XML database. There are no tables/rows but only document
types and documents. Document types are defined with XSD Schemas. As SQL is
designed for tabular oriented data (and the result is always a table),
XQuery is
I'm no Castor XML expert but it looks like your culprit is this
# Uncomment the following to basically supress evaluation of Regular
expressions
org.exolab.castor.regexp=org.exolab.castor.xml.util.AlwaysTrueRegExpEvaluato
r
By uncommenting that, it seems like you are instructing Castor to use a Re
I've got a big problem with castor validation issues.
I've generated java code using SourceGenerator (with full options,
descriptors etc.) from my xsd. I've put in my xsd some basic validation
rules.
(for example concerning length o social security numbers -> maxOccurs
minOccurs and some validati
Thanks for the advise, but unfortunately I can't change the class
definitions.
br,
Sanyi
- Original Message -
From: "Ralf Joachim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 6:14 PM
Subject: Re: [castor-dev] [JDO] 1 class: n table
> You may also use the
Hi, Bruce.
It comes to me that I must clarify some facts first:
Tamino is a native XML database. There are no tables/rows but only document
types and documents. Document types are defined with XSD Schemas. As SQL is
designed for tabular oriented data (and the result is always a table),
XQuery is
Hello,
I use MS SQL Server and I have a table named "MyTable", whose primary key is
a "triple key".
Well, may be that's not the right vocabulary, but I hope you'll see what I
mean:
- The columns in "MyTable" are: "ID1", "ID2", "ID3", "Description".
- Each element in "MyTable" my table is (uniquely
---
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
Hi,
When I carry out the sequence of following operation with the version of Castor
0.9.4.1 I do not have a problem !
db.begin();
thequery = createSelect(db...);
result = thequery.execute();
while (results.hasMore()) { ... }
thequery.close();
db.rollback();
db.close();
But when this sequence of
22 matches
Mail list logo