Re: [Hibernate] Selecting rows only from a particular table

2007-04-23 Thread Dmitri Colebatch
Hi, I think you'd be better off here: http://forum.hibernate.org/ The answer to your question is lazy loading, see http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-fetching-lazy cheers, dim On 4/23/07, The Rhythmic <[EMAIL PROTECTED]> wrote: Hi, Am using

Re: [Hibernate] Embedded, AttributeOverrides and Transient properties

2006-03-25 Thread Dmitri Colebatch
On 3/25/06, Emmanuel Bernard <[EMAIL PROTECTED]> wrote: > I must admit I'm having hard time understanding the usefulness of it. > Overriding a physical mapping seems reasonable, but overriding a logical > mapping seems really weird. > That's like changing a @OneToMany into a @ManyToMany by overridi

[Hibernate] Re: Embedded, AttributeOverrides and Transient properties

2006-03-23 Thread Dmitri Colebatch
the right place for this logic, but my problem then is how do I get access to this from in AnnotationBinder.addProperty? Any chance of a prod in the right direction? cheers dim On 3/22/06, Dmitri Colebatch <[EMAIL PROTECTED]> wrote: > Hi all, > > Firstly, I'm new to the

[Hibernate] Embedded, AttributeOverrides and Transient properties

2006-03-21 Thread Dmitri Colebatch
Hi all, Firstly, I'm new to the list, and until a month or so ago hadn't used hibernate for a few years, so if I say something out of line, let me know. A bit of background (don't worry, I do have a developer question further on): I'm in the dying stages of trying to use hibernate to map JAXB2 ge

Re: [Hibernate] Versioning Jar Files?

2003-12-17 Thread Dmitri Colebatch
what's wrong with using the manifest? - Original Message - From: "Brad Clow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 18, 2003 9:35 AM Subject: RE: [Hibernate] Versioning Jar Files? +1 .jar filenames including the version. This will make trying to figure out

RE: [Hibernate] JUnit testing of hibernate code segments that need a datasource

2003-12-10 Thread Dmitri Colebatch
My suggestion would be to have a different hibernate configuraiton for your tests. I have a base test class that creates a mock setup of instances in a fresh test database and then run the tests against that before cleaning up. There are dummy JNDI implementations around though if you'd prefer th

Re: [Hibernate] Retrieving Object Problem

2003-12-02 Thread Dmitri Colebatch
I'm probably not the person to give you good advice based on the mapping file alone, but my approach is to turn up hibernate debugging (in log4j config) and have a look at what is bound when and where the excetpion is caused. hth dim - Original Message - From: "Neema, Devesh (MED, Contra

Re: [Hibernate] Moving Hibernate objects with SOAP

2003-08-14 Thread Dmitri Colebatch
Hey, I haven't done this, nor needed to give it any thought before, but would it be possible to write an Axis serializer that utilized the hibernate codebase, specifically the meta-data about the classes, to serialize them to soap friendly collections and so on? I'm assuming you're not trying to

RE: [Hibernate] object references an unsaved transient instance - save the transient instance before flushing

2003-08-09 Thread Dmitri Colebatch
Has the BusinessObject instance been loaded using the _same_ hibernate session? >From memory thats what this error means. cheers dim > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Porter, > Mike > Sent: Thursday, 7 August 2003 3:16 AM > To: [EMAIL PR