[Hibernate] Refactored Persistence Logic

2002-09-24 Thread Gavin King
I would appreciate if people would look over and try to understand the new design.I would like to get as much input into this stuff as possible. My goal was to cleanly seperate logic that is general to Hibernate's model of entities/components/values/collections from code that implements a particula

Re: [Hibernate] documentation

2002-09-24 Thread Gavin King
Brad, if you need to fix errors, just fix them in the DocBook src and let me know so I can recompile. It *is* a bit involved setting up the stuff you need to compile the doco. You need the docbook DTD for a start. And we have some slightly customized stylesheets (done by Christian) that I can send

Fw: [Hibernate] Oracle Style Joins Implemented

2002-09-24 Thread Gavin King
  Oh. Damn. U I have made *very* big changes to exactly that part of the code   Sorry, I don't know   You'll have to look over the code to see how it impacts. You might be lucky though, I imagine the changes will be much simpler now.   Gavin - Original Message -

Re: [Hibernate] Oracle Style Joins Implemented

2002-09-24 Thread Jon Lipsky
Hi Chris,   Yes, that was my initial thought however I thought it would complicate things even more to move the join implementation into the Dialects.  The first thing is that we would need two Oracle dialects, one for Oracle 8, and one for Oracle 9 since Oracle 9 *CAN* use ANSI style outer

Re: [Hibernate] Oracle Style Joins Implemented

2002-09-24 Thread Christoph Sturm
Hey Jon!   Oracle Outer Joins are great, I have been needing this for quite some time :)   But wouldnt it be better to let the database Dialect decide what kind of outer joins is generated instead of introducing a new parameter?   regards  chris   - Original Message - From: J

[Hibernate] Oracle Style Joins Implemented

2002-09-24 Thread Jon Lipsky
Hi,   I've implemented outer join support for Oracle 8.  (Oracle 9 supports the ANSI style outer joins.)   I know Gavin is working on some refactoring right now, so I wanted to make sure my work doesn't interfere with his before I check the patches in.  In order to implement this, I had to mo

[Hibernate] documentation

2002-09-24 Thread Brad Clow
there have been a couple of occasions recently where i have found some minor errors in the documentation and would have liked to fix them up - but the whole documentation thing looks a bit complex when u want to do a simple change.   is it easy to generate the documentation - there is a docb

[Hibernate] Middlegen

2002-09-24 Thread Christian Meunier
Was wondering if someone have looked to Middlegen ? --> http://boss.bekk.no/boss/middlegen/   Might be usefull to code an hibernate plugin...  

Re: [Hibernate] RE: DistributedCacheConcurrencyStrategy

2002-09-24 Thread Christian Meunier
Here you go --> http://www.tangosol.com/products-clustering-overview.jsp   Found a nice diagram that we could hack a bit to explain centralized lockserver --> http://www.fastobjects.com/images/FO_ActiveCaching.gif  From: Gavin King To: Christian Meunier Cc: hibernate list Sent

Re: [Hibernate] NPE in cirrus.hibernate.collections.Map

2002-09-24 Thread Gavin King
Woops! forgot to remove some files. Thats fixed now. Now, regarding your proposed patch, I just ran this test: public class TEst { public static void main(String[] args) { System.out.println(new HashMap().values().iterator().hasNext()); System.out.println(new THashMap().values().iterator().hasN

Re: [Hibernate] RE: DistributedCacheConcurrencyStrategy

2002-09-24 Thread Gavin King
Do you have a reference (URL) for this?   sorry ... I still havn't looked at your other emails..refactoring continues - Original Message - From: Christian Meunier To: [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 4:14 PM Subject: Re: [Hibernate] RE:

Re: [Hibernate] RE: DistributedCacheConcurrencyStrategy

2002-09-24 Thread Christian Meunier
I found a pretty good description of the 2 read-write strategy that ideally hibernate should support ( the current one and the one i named "lightweight read-write" but the good name is optimistic-read-write   The Synchronized Replicated Cache  ensures the coordinated synchronization of dat

[Hibernate] RE: DistributedCacheConcurrencyStrategy

2002-09-24 Thread Christian Meunier
Little more input on the subject:   I thought how to achieve maximum flexibility and keep a clean code for the cache, i came up with the following design that makes more sense IMHO than using a DistributedCacheConcurrency:   (1) Define a lockserver interface (2) Implement a local lockserver (3

Re: [Hibernate] Hibernate documentation

2002-09-24 Thread Gavin King
Fixed :) - Original Message - From: "Fay, Kevin J, ALBAS" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 24, 2002 6:44 AM Subject: [Hibernate] Hibernate documentation > I'm attempting to download the Hibernate reference documentation .pdf file and it says "The file