Re: [Hibernate] JDO 2.0 Discussions

2003-08-20 Thread Andrea Aime
On Monday 18 August 2003 16:03, Christian Bauer wrote: > Some discussions about the upcoming JDO 2.0 specification request: > > http://www.theserverside.com/resources/article.jsp?l=JDO2-Kickoff > > Just a note: Hibernate supports all of the features they discussed > already. I can't help but get th

[Hibernate] Patch on Schemaupdate

2003-08-20 Thread Oliver Wehrens
Hi, as I wrote earlier I had a problem with the anttask not finding my classes (since separation of classes/mappinfiles). I'm now using the java task to run the main method of SchemaExport. To make things easier I added a switch to the commandline where one can specify the directory which ho

Re: [Hibernate] Patch on Schemaupdate

2003-08-20 Thread Christian Meunier
Oliver Wehrens wrote: Hi, as I wrote earlier I had a problem with the anttask not finding my classes (since separation of classes/mappinfiles). I'm now using the java task to run the main method of SchemaExport. To make things easier I added a switch to the commandline where one can specify

[Hibernate] Updating the database schema

2003-08-20 Thread Prasad Iyer
Hi, I got this bunch of tables created for the application with mapping and everything. I am in grave problem I need to add few columns to few tables with the relationship without disturbing the other table Does anybody knows how do I do that. An early reply would be highly appreciated. regards pra

Re: [Hibernate] Updating the database schema

2003-08-20 Thread Christian Bauer
On 20 Aug (17:36), Prasad Iyer wrote: > I got this bunch of tables created for the application with mapping and > everything. > I am in grave problem I need to add few columns to few tables with the > relationship without disturbing the other table > Does anybody knows how do I do that. > An early

[Hibernate] Designing for Database Portability

2003-08-20 Thread Nick Heudecker
Morning all, I have a project starting up that will be initially deployed on DB2, but will later be moved to Oracle. I'm curious as to what are some portability practices that I can employ in order to ensure that I can change databases without having to change my HQL statements. Ideally, I would

Re: [Hibernate] Updating the database schema

2003-08-20 Thread Prasad Iyer
Hi, Following is the code which I am using to update the schema. But this isn't working for me. Can you help me. Thanks for the earlier response. try{ HibernateFileConfiguration hfcfg = new HibernateFileConfiguration(); ListIterator iterator = hfcfg.getFilelist().listIterator(); while(iterato

Re: [Hibernate] Patch on Schemaupdate

2003-08-20 Thread Christian Meunier
Christian Meunier wrote: Oliver Wehrens wrote: Hi, as I wrote earlier I had a problem with the anttask not finding my classes (since separation of classes/mappinfiles). I'm now using the java task to run the main method of SchemaExport. To make things easier I added a switch to the commandli

Re: [Hibernate] Updating the database schema

2003-08-20 Thread Prasad Iyer
Hi, Have solved the problem I had to go to the database and delete the tables. And run the SchemaUpdate worked fine. I know this is the wrong way. But if nothing helps you have to give your 100% regards prasad chandrasekaran - Original Message - From: "Prasad Iyer" <[EMAIL PROTECTED]> To:

[Hibernate] MS SQL performance and Unicode

2003-08-20 Thread Gary Evesson
Am I the only person in the world who didn't know what happens if you use VARCHAR's with Java and the MS SQL JDBC driver? It seems unlikely because I can find no mention of this in the list archives or the like. If you use VARCHARs for database tables and index those columns either (as a primar

Re: [Hibernate] MS SQL performance and Unicode

2003-08-20 Thread Christian Bauer
On 20 Aug (09:08), Gary Evesson wrote: > Am I the only person in the world who didn't know what happens if you > use VARCHAR's with Java and the MS SQL JDBC driver? It seems unlikely > because I can find no mention of this in the list archives or the like. I've added this to the community area

[Hibernate] newbies question about ids

2003-08-20 Thread Thierry Hanot
Title: Message Hello All I'm starting to use Hibernate and i have the following problem I'm working with an Oracle 9 DB hibernate 2.0.2 jdk1.4.2 . The Database is created with some Trigger on INSERTĀ for generating id's . Those Trigger populate ids but also populate some other default values