RE: [Hibernate] multiple beans in one table

2002-12-22 Thread Gavin King
I think Benoit Menendez' patch fixed that. > -Original Message- > From: cheeser [mailto:[EMAIL PROTECTED] > Sent: Sunday, 22 December 2002 5:20 AM > To: [EMAIL PROTECTED] > Subject: Re: [Hibernate] multiple beans in one table > > > Sorry I was in a bit of a hurry when writing that. In

RE: [Hibernate] Road Map

2002-12-22 Thread Gavin King
I agree with this. It is the resposibility of the middle tier to fetch data. If it did not fulfil its part of the contract, we can't just have the web tier suddenly open connections to the database. That has all *kinds* of security implications. > I can't see any other decent way - the View laye

Re: [Hibernate] Road Map

2002-12-22 Thread Christian Bauer
On 22 Dec (10:44), Gavin King wrote: > I agree with this. It is the resposibility of the middle tier > to fetch data. If it did not fulfil its part of the contract, > we can't just have the web tier suddenly open connections to > the database. That has all *kinds* of security implications. > > >

Re: [Hibernate] Oracle error

2002-12-22 Thread Mark Woon
Matt Raible wrote: I am trying to use Hibernate to connect to Oracle. I was using MySQL - where everything worked. All I've changed (so far) was the tablename from "user" to "cct_user". Now I'm getting the following error: [junit] Testcase: testGetUser(com.cable.comcast.dmc.itd.cct.persistenc

Re: ClobImpl (was: RE: [Hibernate] Road Map)

2002-12-22 Thread Mark Woon
Gavin King wrote: The only caveat is that I implemented the writes such that it truncates the stream since that's the behavior I wanted. Would you enlarge on this please? I'm not quite sure what you're getting at Say you have a Clob of length 10. If you're at position 4, and you

RE: [Hibernate] Road Map

2002-12-22 Thread Gavin King
>This one is going to be fuun :) (You didn't follow up on the discussion > on identity for these "value beans" - was it just to insane or ? :) I think we need to maintain a strict distinction between "value types" and "entity types". These value beans shouldn't have any notion of identity because

RE: [Hibernate] New version of hibernate/xdoclet/jboss demo

2002-12-22 Thread Gavin King
A couple of comments: 1. The collection-key tag should not specify a generator-class unless you intended it to be toplevel, which I didn't think was supported by the XDoclet module and certainly won't be supported in Hibernate 2.0. It only really needs to specify a column attribute. 2.

[Hibernate] where can I get hibernate nightly build?

2002-12-22 Thread Herve Tchepannou
where can I get hibernate nightly build? -- Herve Tchepannou mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, MP3 Pl

[Hibernate] [patch] validation query

2002-12-22 Thread Juozas Baliuka
Hi, this feature was sugested on forum. I do not want to send my hibernate.properties, it is modified . Is it possible to remove hibernate.properties file from cvs and add hibernate.properties.sample ? (I need to modify this file every time I update) #hibernate.dbcp.validationQuery "SELECT 1 FRO

Re: [Hibernate] where can I get hibernate nightly build?

2002-12-22 Thread Gavin King
You'll have to grab a CVS checkout and build it yourself. sorry ;) - Original Message - From: "Herve Tchepannou" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 22, 2002 3:14 PM Subject: [Hibernate] where can I get hibernate nightly build? > where can I get hibernate

[Hibernate] Problem using Xdoclet to generate relationships [newbie]

2002-12-22 Thread Matt Raible
Title: Problem using Xdoclet to generate relationships [newbie] I'm a rookie at using Hibernate, so please bear with me. I have User object that has a one-to-many mapping to a Resume object.  I am getting the exception below when trying to persist the resume. I believe I might be doing som

Re: [Hibernate] Problem using Xdoclet to generate relationships [newbie]

2002-12-22 Thread Konstantin Priblouda
--- Matt Raible <[EMAIL PROTECTED]> wrote: > I'm a rookie at using Hibernate, so please bear with > me. > > I have User object that has a one-to-many mapping to > a Resume object. I > am getting the exception below when trying to > persist the resume. > > I believe I might be doing something wr

Fw: [Hibernate] Road Map

2002-12-22 Thread Max Rydahl Andersen
whoops - forgot to correct the reply address so here it goes again :) - Original Message - From: "Max Rydahl Andersen" <[EMAIL PROTECTED]> To: "Gavin King" <[EMAIL PROTECTED]> Sent: Sunday, December 22, 2002 6:24 PM Subject: Re: [Hibernate] Road Map > >>This one is going to be fuun :

Re: [Hibernate] Road Map

2002-12-22 Thread Max Rydahl Andersen
That has been discussed, but under the name "Fetch profiles". And always with a positive attitude :) So, yes - its a good idea, and patches are welcome :) /max - Original Message - From: "Ara Abrahamian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 22, 2002 7:29 PM

[Hibernate] Unable to obtain the SessionFactory via JNDI

2002-12-22 Thread Herve Tchepannou
I'm using JBoss-3.0.4_Tomcat-4.1.12. I've successfully install hibernate MBean in java:/tspaceHibernate I can obtain the SessionFactory from any SessionBean, but when I try to access it from my servlet I receive the following error: javax.naming.NamingException: Could not dereference object. Ro

Re: [Hibernate] Road Map

2002-12-22 Thread Mark Woon
Gavin King wrote: P.S. I've never figured out IIRC. If I Remember Correctly. -Mark --- This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, MP

RE: [Hibernate] Problem using Xdoclet to generate relationships [newbie]

2002-12-22 Thread Matt Raible
I got it to work by looking at your example Konstantin. Thanks! Now I'm having a problem where I want to set a unique contraint on name and userId in my resume table. Following Konstantin's example, I have my one-to-many relationship information on my User class, and the Resume class just has a

RE: [Hibernate] Problem using Xdoclet to generate relationships [newbie]

2002-12-22 Thread Konstantin Priblouda
--- Matt Raible <[EMAIL PROTECTED]> wrote: > I got it to work by looking at your example > Konstantin. Thanks! > > Now I'm having a problem where I want to set a > unique contraint on name > and userId in my resume table. Following > Konstantin's example, I have > my one-to-many relationship in