[Hibernate] May Be an Error: one-to-one & Cache

2004-01-26 Thread Ralf E. Stranzenbach
ionship gets updated. regards, Ralf E. Stranzenbach <>

[Hibernate] Preventing Objects to load - please help!

2004-01-20 Thread Ralf E. Stranzenbach
irectional. If my program navigates to the Document objects the DocumentBlob is also fetched from the database. Instead i intended to load the DocumentBlob ONLY IF i ask the Document for it.   Is there any chance to prevent this automagical loading ?   Regards, Ralf E. Stranzenbach  

[Hibernate] additional Criteria on Collection

2003-11-21 Thread Ralf E. Stranzenbach
Hi, i'm thinking about implementing a database which keeps all former state in a set special "Mnemento" tables. Beside the productive set of objects these tables hold a copy of all objects with additional "from_date" and "to_date" columns. Therefore i am able to "see" the state of the database at

[Hibernate] PersistentEnum Problem

2003-02-01 Thread Ralf E. Stranzenbach
Hi,   i have a problem since i implemented a PersistentEnum in my mapping file. I Implemented a PersistentEnum class. In my mapping.xml this class is referenced as       The column in the database is declared as INT NOT NULL.   Using this declaration (in my JUnit test environment) the Sess

[Hibernate] Hibernate XDoclet Task

2002-12-31 Thread Ralf E. Stranzenbach
Hi, as a newbie using XDoclet (today it's working for the very first time) i have two questions: * Is there any chance to add predefined queries to the generated mapping? * Is there any chance to generate the bean-pattern (setXXX(), getXXX() and especially the addXXX(Child)/setXXX(Parent)) m

[Hibernate] Using hibernate - best practices

2002-11-14 Thread Ralf E. Stranzenbach
rs). At this moment i'm not sure wich basic design i should use. Please drop me some notes about this topic. * Which is your preffered strategy? * Why have you choosen your way? * What are the benefits or the drawbacks? regards, Ralf E. Stranzenbach <>