Re: [Hibernate] When I run demo.bat ,some error message display.

2003-09-17 Thread Christian Bauer
On 17 Sep (23:30), jun cai wrote: > I'm using hibernate 2.03,when I run demo.bat in hibernate root directory.Some error > displayed: The classpath setting in the .bat file is broken. It will be fixed in the next release. -- Christian Bauer [EMAIL PROTECTED] --

[Hibernate] When I run demo.bat ,some error message display.

2003-09-17 Thread jun cai
I'm using hibernate 2.03,when I run demo.bat in hibernate root directory.Some error displayed:     Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/cglib/KeyFactory    at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:297)    at net.sf.hibernate.cfg.Confi

Re: [Hibernate] Problem

2003-09-17 Thread Prasad Iyer
I am executing select query do I require to open a transaction for that? One more thing need to ask is one of the table has the data which is not going to change. I have created a helper class for accessing the data. I haven't written any update or insert queries in the helper class which would mo

RE: [Hibernate] Hibernate + JBoss Partnership

2003-09-17 Thread Schnitzer, Jeff
> From: Christian Bauer [mailto:[EMAIL PROTECTED] > > Do you have any questions about the Hibernate/JBoss merger? With better JBoss integration, any chance we will be able to get a Hibernate session cache to transparently follow the lifetime of an EJB transaction (across EJB method calls), just l

Re: [Hibernate] Hibernate + JBoss Partnership

2003-09-17 Thread Christian Bauer
On 17 Sep (19:17), Bill Burke wrote: > A lot of posters on TSS are masquerading competitors. The Mike Spille > guy has it in for me because I've embarassed him a few times. I think > he is an alias anyways Yeah, I expected that because he is just too stupid for a "real" person. > What's

Re: [Hibernate] Hibernate + JBoss Partnership

2003-09-17 Thread Bill Burke
Christian Bauer wrote: > On 18 Sep (01:44), Gavin King wrote: > > >>We will be making a major announcement soon, and I would prefer that >>everyone here learns about this development here, rather than in the >>press, or on TSS. > > > And as we expected it is on TSS now. As you can see, I'm not ver

Re: [Hibernate] Hibernate + JBoss Partnership

2003-09-17 Thread Christian Bauer
On 18 Sep (01:44), Gavin King wrote: > We will be making a major announcement soon, and I would prefer that > everyone here learns about this development here, rather than in the > press, or on TSS. And as we expected it is on TSS now. As you can see, I'm not very happy about this at the momen

Re: [Hibernate] Hibernate + JBoss Partnership

2003-09-17 Thread Mikael Carneholm
This is great news - congratulations, Gavin!!! (and all the others in the team) - Mikael Vad står det om dig på nätet? Kolla nu! - http://www.lycos.se/

Re: [Hibernate] Hibernate + JBoss Partnership

2003-09-17 Thread Christian Bauer
On 18 Sep (01:44), Gavin King wrote: > Fortunately, we've now found a way to out. Excitement everywhere! :) This is a great step for Hibernate. Here are some numbers from the Hibernate Department of Statistics: - about 100 forum postings per day - 500 registered forum members in three weeks - w

[Hibernate] JBoss welcomes Gavin and Hibernate

2003-09-17 Thread Bill Burke
All, I would sincerely like to welcome Gavin and Hibernate to the JBoss Group and JBoss.org umbrella. I can't tell you how incredibly psyched and excited we at JBoss are about this. Over the past year, I can't tell you how many times we've encountered customers that are using Hibernate or ar

[Hibernate] Multiple Collections of Same Entity?

2003-09-17 Thread Snively, Paul (SMCI)
Folks, We're pondering an entity class that has two collections, both of which we'd like to contain instances of some other entity class: class Foo { Integer id; private Set bars;// Association to class Bar private Set otherBars;// Association to class Bar } >From the docu

Re: [Hibernate] Is it possible to execute sql insert statements with hibernate / hibernate serssion object?

2003-09-17 Thread Max Rydahl Andersen
Hi! The name says createSQL*Query*, "INSERT" is not a query! ;) You should NOT use createSQLQuery for inserting, creating etc. It is *ONLY* for querying stuff and return the result. If you want to do inserts or any other "yucky" :) stuff - then use session.connection().xxx and do it by hand! An

Re: [Hibernate] clustering single class or component

2003-09-17 Thread dosapati
- Original Message - From: "Christian Bauer" <[EMAIL PROTECTED]> To: "dosapati" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 9:13 PM Subject: Re: [Hibernate] clustering single class or component > On 17 Sep (21:11), dosapati wrote: > > > My application

[Hibernate] Hibernate + JBoss Partnership

2003-09-17 Thread Gavin King
Hi everyone, We will be making a major announcement soon, and I would prefer that everyone here learns about this development here, rather than in the press, or on TSS. As you must realise, Hibernate and the Hibernate project have been created entirely by people working in their spare time, us

Re: [Hibernate] Problem

2003-09-17 Thread Juozas Baliuka
Have you tried to commit transaction ? - Original Message - From: "Prasad Iyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 1:34 PM Subject: [Hibernate] Problem Hi, I am using Microsoft SQL Server as a database and Hibernate version 2.0.5 beta. We are

Re: [Hibernate] clustering single class or component

2003-09-17 Thread Christian Bauer
On 17 Sep (21:11), dosapati wrote: > My application has 10 components. I want to create cluster of the instances > for scalability. > But I want to cluster one component(single class or related classes) not the > whole application. > Can I do it with Hibernate? Is transaction taken care by Hiberna

[Hibernate] questions on mapping

2003-09-17 Thread dosapati
Hi everyone,I have two components which can be deployed on different servers or togetheron the same server.1. One of the entity 'FirstClass' in the first component is mapped to thistable:table1(     firstEntityId int primary key,     name varchar(100) not null,     description varchar(200) )

[Hibernate] clustering single class or component

2003-09-17 Thread dosapati
hi,My application has 10 components. I want to create cluster of the instancesfor scalability.But I want to cluster one component(single class or related classes) not thewhole application.Can I do it with Hibernate? Is transaction taken care by Hibernate whenclustered?thanks in advancedosapa

[Hibernate] Problem

2003-09-17 Thread Prasad Iyer
Hi, I am using Microsoft SQL Server as a database and Hibernate version 2.0.5 beta. We are facing a problem that whenever a query get executed we get the result but while running it for the second time it hangs. Microsoft SQL Server service needs to be restarted. Can anybody help me regards p

[Hibernate] exception when I update a parent with collection

2003-09-17 Thread Laurent Fleuriot
hi,   I have a problem with the update collection.   I have 2 classes. classA and classB   classA {     ...     Collection objectClassB; }   All id are assigned. And I made an Interceptor and a class Persistent implements LifeCycle   When I make update(objectClassA), I have an exception