Re: [Hibernate] long duration transactions

2003-11-17 Thread dosapati
transaction. Is this possible? -dosapati - Original Message - From: "Christian Bauer" <[EMAIL PROTECTED]> To: "dosapati" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2003 12:50 AM Subject: Re: [Hibernate] long duration transactions

[Hibernate] long duration transactions

2003-11-17 Thread dosapati
?   any thoughts on this?   thanks dosapati

[Hibernate] problem with boolean in MySQL

2003-11-07 Thread dosapati
I am using: Hibernate 2.0.1, MySQL - 4.0.12 database. When boolean is used in hbm mapping files, SchemaExport is generating 'tinyint' type column for MySQL DB. But at runtime the value is always getting saved as '0' in the column even for 'true' value.But the same thing is working when I u

[Hibernate] urgent!!!!! one-to-one cascade problem

2003-10-30 Thread dosapati
second-level entity?.   Thanks in advance. dosapati

[Hibernate] what's the best way?

2003-10-28 Thread dosapati
Hi,   I have Entitities A, B, & C.   B should hold an instance of A.   C should hold an instance of A.   If I use one-to-one mapping to A in B & C, will it work? or is there any alternative to achieve the above relations.   Thanks in advance!   dosapati

Re: [Hibernate] automatic versioning problem

2003-10-11 Thread dosapati
As for the reference document automatic versioning is very useful in optimistic concurrency control. Can anyone please explain how this autoatic versioning will work for optimistic concurrency control?.   thanx dosapati - Original Message - From: dosapati To: [EMAIL

[Hibernate] automatic versioning problem

2003-10-11 Thread dosapati
details.   Am I missing anything? How do I achieve automatic versioning by Hibernate. Please provide me if any posts or any examples are available.   I will be very thankful for your suggessions.   -- dosapati

Re: [Hibernate] relationship not getting saved

2003-10-07 Thread dosapati
I used 'inverse=true' in my mapping file. But Workspace class is not having 'addAsset(Asset)' method when I generate the classes using hbm2java tool.   Does anyone have an idea on what could be the problem in generating the class files?   thanks dosapati --

Re: [Hibernate] relationship not getting saved

2003-10-06 Thread dosapati
have the addAsset() method in it. Should I add anything to mapping to generate that method?. thanks Dosapati - Original Message - From: "Prasad Iyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 06, 2003 7:52 PM Subject: Re: [Hibernate] relation

[Hibernate] relationship not getting saved

2003-10-06 Thread dosapati
WorkLocation object is saved, the association Asset-to-WorkLocation is not getting saved. thanks Dosapati --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

Re: [Hibernate] problem in using JTA datasources

2003-09-25 Thread dosapati
and external connection is set to the session, why session.flush() is required before committing? Cant session itself flush when JTA transaction is committed. Please clarify this difference. I would like to not use session.flush() in my code. Thanks for your suggessions. dosapati

[Hibernate] problem in using JTA datasources

2003-09-25 Thread dosapati
JTA Transaction Manager and JTA datasource with Hibernate. Any suggessions are appreciated.   Thanks in advance! Dosapati

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:

[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