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
?
any thoughts on this?
thanks
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
second-level entity?.
Thanks in advance.
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
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
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
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
--
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
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
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
JTA
Transaction Manager and JTA datasource with
Hibernate. Any suggessions are appreciated.
Thanks in advance!
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:
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) )
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
15 matches
Mail list logo