Bruce,
You are right the sql read-only works if you update the object in a
short transaction and that is what I was looking for any way. thanx.
Steve
- Original Message -
From: "Bruce Snyder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 10, 2003 1:44 AM
Subject
Steffen,
top of my memory, once you've made the changes to jdo-conf.xsd, you'll need to (selectively) run this XML Schema instance through the SourceGenerator and have a new Database.java generated. Copy this file to the org.exolab.castor.jdo.conf package, and look for (I believe) DatabaseRegi
lic float getAmount() {
> return this.amount;
> }
>
> public SimpleVO() {
> Random r = new Random();
> this.orderDate = Calendar.getInstance().getTime();
> this.quantity = r.nextInt();
>
Hi!
I am trying to add a
property (i.e. an attribut) to the database element of the database config file
(database.xml), e.g.
I was successful in
rebuilding the jars but Castor did not seem to read the value from the config
file.
What I did
was:
- extend the
Database class in th
This one time, at band camp, Konrad said:
K>After doing more research and extensive testing, it
K>was discovered that the issue was not a Castor mapping
K>type one, but rather a bug in WebLogic.
K>
K>Apparently, when using WebLogic6.1sp2's jDriver for
K>Oracle with a multibyte (UTF8) Oracle databa
Michael,
let me try to address some of your questions, but not necessarily in order.
When you have a situation like this where there is a relationship netween two classes (B and C in your case), things
behave quite different from what you seem to be expecting. When you load an instance b
Hi Ralf and all.
Thanks for your reply.
After doing more research and extensive testing, it
was discovered that the issue was not a Castor mapping
type one, but rather a bug in WebLogic.
Apparently, when using WebLogic6.1sp2's jDriver for
Oracle with a multibyte (UTF8) Oracle database, the
ORA-0
Hi,
This might be a little off topic, but we have discussed it a lot here.
How do You manage problems like the following:
You have two objects b, c of two classes B, C where b references c. (b -> c)
At the beginning b and c are persistent.
You change b and commit the change. So now b and c are
---<<<
java.lang.IllegalStateException: Invalid dateTime format: 20031110
at
org.exolab.castor.xml.handlers.DateFieldHandler.setValue(DateFieldHandle
r.java:202)
at
org.exolab.castor.xml.UnmarshalHandler.endElement(UnmarshalHandler.java:
852)
at
org.exolab.castor.xml.U
Hi,
we have a problem with the default namespace using Castor 0.9.5.2
I tried both statements
marshaller.setNamespaceMapping("", "http://www.vpbank.com/ebanking";);
marshaller.setNamespaceMapping(null, "http://www.vpbank.com/ebanking";);
but it generates elements with de but the
xmlns=""
xtFloat() * quantity;
}
}
This is the stack trace which I encounter while unmarshalling the xml
org.xml.sax.SAXException: unable to add 'order-date' to due to
the following exception:
>>>--- Begin Exception ---<<<
java.lang.IllegalStateExcepti
Hi guys,
I don't have the missing classes from Arnaud, the work-around I'm using
is to checkout out the src/tests directory using a date prior to
Arnaud's last checkin, and then I just make sure to just update the
src/main tree and not the tests when I do an update.
Hopefully Arnaud will get tha
This one time, at band camp, Marc Lehnert said:
ML>I've downloaded a clean copy of the CVS tree but the "build all" fails
ML>because the testsuite is incomplete. Some classes are missing in the
ML>repository.
ML>
ML>[javac] D:\castor\src\tests\main\org\exolab\castor\tests\framework\XMLTestCa
M
This one time, at band camp, Clemens Kadura said:
CK>p {margin: 0px}p {margin: 0px}Hello,
CK>
CK>I have the following question and dont know if this can be categorized as a bug or
is it an enhancement?
CK>
CK>I want to describe the issue as following (derived from the LazyLoading testcase):
CK>
C
"Mujtaba,Shelly" wrote:
>
> >I believe if you add to the field mapping it
> should use that instead of the class name during marshalling.
>
> But Keith, we don't know until runtime if the concrete class would be a
> person or org.
Sorry Shelly, you're right. You might want to try looking at
i
15 matches
Mail list logo