[Hibernate] Error when sql query is been created

2003-09-24 Thread Prasad Iyer
Hi, I have this two joined-subclass in a mapping file. This two joined-subclass has one-to-many relationship between them and is giving me a problem, when I am trying to create a inner join on the tables   And following is the Hibernate query I want to generate "from MultiplePersonalisedRe

[Hibernate] Hibernate now on www.jboss.org

2003-09-24 Thread Bill Burke
Ok, sorry for the delay, but the announcement is now on our front page. www.jboss.org We'll be adding more links on support, training, and consulting as time goes by. Best regards, Bill -- Bill Burke Chief Architect JBoss Group LLC.

Re: [Hibernate] Patch to automatically load hibernate objects from an HttpRequest submitted

2003-09-24 Thread Matt Hall
It looks to me like if you wanted to use the Spring framework to accomplish what the patch does, you're going to have to use a fair amount of the framework.  This is a lot different form just calling HttpFormUtil.load(request, hibernateObject) with any properly generated hibernate object. This

Re: [Hibernate] Problem with Exception "Flush during cadcade is dangerous...."

2003-09-24 Thread Gavin King
http://www.hibernate.org/117.html#A20 Please do not post these kinds of questions to the development list. TIA. Oisin Kim wrote: Hi All, Been using Hibernate for about 2 weeks now and have run into the following problem, hopefully someone out there knows what I'm doing wrong. I've read the hiber

[Hibernate] Problem with Exception "Flush during cadcade is dangerous...."

2003-09-24 Thread Oisin Kim
Hi All, Been using Hibernate for about 2 weeks now and have run into the following problem, hopefully someone out there knows what I'm doing wrong. I've read the hibernate manual and checked the web for something similar, but can't find anything like this, I must be doing something stupid! Thanks i

Re: [Hibernate] Error "expecting 'elements' or 'indices'"

2003-09-24 Thread Prasad Iyer
Sorry I was doing something real stupid Thanks - Original Message - From: "Prasad Iyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 24, 2003 6:14 PM Subject: Re: [Hibernate] Error "expecting 'elements' or 'indices'" > very Thanks. > Still one more question. I t

Re: [Hibernate] Error "expecting 'elements' or 'indices'"

2003-09-24 Thread Prasad Iyer
very Thanks. Still one more question. I tried that query but I am still finding trouble. The query is something like this "from MultiplePersonalisedResponse multiple where multiple.singlePersonalisedResponse[0].creationDate=:startDate and multiple.userid=:userid" The error it gave me is something

Re: [Hibernate] Error "expecting 'elements' or 'indices'"

2003-09-24 Thread Gavin King
Please see the Hibernate documentation for information about how to query collections. Also note that you cannot use the [] syntax after a parameter name. Prasad Iyer wrote: Hi, I am trying to execute a query on the two tables which has one-to-many relationship between them I get this error. I d

[Hibernate] Error "expecting 'elements' or 'indices'"

2003-09-24 Thread Prasad Iyer
Hi, I am trying to execute a query on the two tables which has one-to-many relationship between them I get this error. I don't understand this error I tried everything using ArrayList and Array. But don't get it right can anyone help. Please MultiplePersonalisedResponse has a list that contains the

RE: [Hibernate] Interface / Implementation separation and XDoclet

2003-09-24 Thread Konstantin Priblouda
--- Aapo Laakkonen <[EMAIL PROTECTED]> wrote: > > I'm crossposting this to xdoclet-devel... > > Ok, but wait! This is not so easy to solve as I > first thought. > > I attached examples: > - User.java (User Interface) > - UserImpl.java (User implementation that Hibernate > should use) > > What I