[castor-dev] castor slow when calling db.load

2002-11-28 Thread Jamie De Wet
Title: castor slow when calling db.load Hi there, Ever since my database started growing in size (largest table is now about 20 000 records), calling db.load method is slowing down incredibly. My db has about 15 tables which are all accessed when calling the db.load method (it now takes abou

[castor-dev] Cross database query

2002-10-28 Thread Jamie De Wet
Title: Cross database query Hi all, Is it possible to do a cross db query in castor running mySql. My databases are not on the same machine (is this a problem). If it is possible, how would I set up the connections and structure the queries? A simple example would be much appreciated. Thank

Re: [castor-dev] non-breaking-space " " entities in xml

2002-10-28 Thread Jamie De Wet
Title: RE: [castor-dev] non-breaking-space " " entities in xml Hi Grzegorz, I had this same issue the other day. Try using the number code   instead. The schema seems to only like name codes like & ' > < ". Otherwise the schema seems to only accept number codes. I have attached a list of sp

Re: [castor-dev] special characters - repost

2002-10-17 Thread Jamie De Wet
Title: special characters Hi all, sorry for the repost but this is urgent as it is effecting live data. See problem below.   Thanks a mill Jamie -Original Message-From: Jamie De Wet [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 15, 2002 9:42 AMTo: [EMAIL PROTECTED]Subject

[castor-dev] special characters

2002-10-15 Thread Jamie De Wet
Title: special characters Hi there, I have a problem that when I send a special character in my xml file, it gets logged in the database as the actual character and not the characters code. eg. my xml has È but the db gets logged as character È (e with dash). I think the character gets cha

[castor-dev] javaclassmapping=element or type

2002-09-18 Thread Jamie De Wet
Title: javaclassmapping=element or type Hi there, this is an extract from the castorbuilder.properties. Please can someone explain to me why javaclassmapping element and type get handled differently for simpleTypes when creating source. # Java class mapping of 's and 's # #org.exolab.castor.

Re: [castor-dev] Marshalling encoding

2002-07-23 Thread Jamie De Wet
Title: RE: [castor-dev] Marshalling encoding 2. Had this problem with JBuilder yesterday - the Castor.jar that JBuilder uses is saved in eg. jbuilder/lib directory. Download the latest version of Castor and save it in the JBuilder/lib directory. Make sure you rename the downloaded jar to casto

[castor-dev] mapping.xml -- field type

2002-07-22 Thread Jamie De Wet
Title: mapping.xml -- field type Hi there, two questions 1. I generated classes using Castor XML and one of the methods gets and sets type "jdo.databinding.types.DebitCreditType" (it is really a string but has restrictions set in schema). When I use the mapping to try set/get this field it g

[castor-dev] Castor XML - code generator -Vectors

2002-07-16 Thread Jamie De Wet
Title: Castor XML - code generator -Vectors Hi there, URGENT HELP NEEDED I hava 2 classes - Tranaction and Financial (one Transaction to many Financials). I generate these classes from schema using Castor. Now I am using JDO and mapping the 2 classes to each other but when I try link them li

[castor-dev] Castor DTX - xml output problems

2002-07-04 Thread Jamie De Wet
Title: Castor DTX - xml output problems Hi there, I'm busy going through the dtx examples from castor but am not sure how to output the xml. The product.xsd is full of errors - could this be the problem? I have changed the product schema to: [castor-dev] setting up database.xml file help
Title: setting up database.xml file help Hi, Please can someone give me a hand setting up database.xml file. I'm gettting a -- org.exolab.castor.jdo.DatabaseNotFoundException: database name = testdb type of database = mysql no password the database is on my local machine. I'm not sure h