RE: generating DDL from repository.xml

2003-08-12 Thread John M
I use the following xsl to convert the repository file to torque-style schema. It handles indexes and foreign keys. For indexes you have to add an index attribute to the field descriptors. For this project every class has an cld for an interface and then a cld for the implementation with all

Problems rc4 tests on db2 7.2.5

2003-08-12 Thread Martin Grüneberg
Hello, i try to test ojb for my next project. I followed the instructions in the get startet section but when I build and test ojb1.0rc4 on my system (win2k, jdk1.4.2, ibm DB2 7.2.5 and the IBM jdbc-driver) I get SQL Errors and some of the tests fail. I think the error in the odmg tests happens

RE: not case sensitve search in DB2

2003-08-12 Thread Bram Meijboom
hi bad thing to do performance wise, if u have an index on the colmn eg the username and use this construction then the index is not used and you end up with a table scan. I think you can better manage it while inserting, eg class User { private String userName; public

Re: Problems with xdoclet-ojb-module

2003-08-12 Thread Christian Pesch
Thomas Dudziak wrote: This is usually the case when xdoclet finds no source code.# That's is. Thanks. Try running ant with the -v option to see some more output. There was no output indicating, that the fileset for the java source in my ant target was wrong: [EMAIL PROTECTED] project]$

RE: one table - multiple classes problem

2003-08-12 Thread AndreasWuest
Hi again, one thing i forgot to ask in my last mail : storing the ojbects in the database you also need 2 db access, don't you ? you have to store each of the two classes separately ? Thanks again, Andreas Hi, you can do it without problem. I have two classes for one table.