The power that Hibernate provides is both compelling and elusive: It's
clearly a better solution than using CMP. It seems to be very commonly used
with EJB session beans by users in the real world. But it's elusive in that
the gotchas are not well documented, and the documentation rarely states
Title: Mapping an object accross mutiple tables ??
Hi everyone,
With Hibernate, we can map to classes to the same table, (eg. A person object that has a reference to an address object, and the information of both are saved to same table T_PERSON). But can I save a single object across
Max Rydahl Andersen wrote:
But - why don't you try to explain WHY you need this copy-pasting, maybe
it's a feature that can be integrated into SchemaExport OR it could
provide the motivation for having a more public stabilzied apiso
please, tell use more ,)
I gave a pretty complete descriptio
Les,
I think the 2.1 stuff is on a branch in the CVS repository called v21branch. Set your
working
copy to point at that branch and I think you are good to go.
Thanks,
Patrick
--- Les Hazlewood <[EMAIL PROTECTED]> wrote:
> Hiya folks,
>
> I'd like to start participating in development. How c
If I have a one-to-many relationship with a subclass using the table per
class strategy, with a discriminator distinguishing between subclasses.
I have another class with a set of a specific subclass of elements. My
problem is that the set is being filled with all elements, not just the
ones t
I've built a set of "deployment" checks I use to help installation and
upgrades... checks datasources are in the right place and can connect,
application init parameters are valid, etc...
One of the things I do is build the update scripts for Hibernate, since
that's become our OR mapping tool o
I guess that the code you are using is part of the internal parts of
SchemaUpdate (as opposed to being part of any public api) - thus I don't
think you will get any guarantees on that being stabalized!
But - why don't you try to explain WHY you need this copy-pasting, maybe
it's a feature that ca
Title: Message
I was
thinking of using a new IdentityGenerator , but it's not enough because i have
the id only after the insert .
The
problem is the following , when you need to access to the DB before the insert
for getting an id , it's ok , you have infos on the table in the IdGenerator ,
it is in the v21branch
/max
Les Hazlewood wrote:
Hiya folks,
I'd like to start participating in development. How can I get anonymous
CVS access to the 2.1 development tree? I didn't see a specific module
name listed on the Sourceforge CVS page...
I'd like to be able to do my cvs update ever
Hiya folks,
I'd like to start participating in development. How can I get anonymous CVS
access to the 2.1 development tree? I didn't see a specific module name
listed on the Sourceforge CVS page...
I'd like to be able to do my cvs update everytime I work on the tree to make
sure that I'm i
On 21 Aug (18:13), Prasad Iyer wrote:
> 1. transaction.commit();
> 2. Session.flush();
> 3. Session.save();
> 4. Session.close();
>
> I don't understand the order between this lines
> well ofcourse the 4th line would be last.
> thanks
> regards
> prasad chandrasekaran
See reference documentatio
Title: Message
Can
you use UUID's? Then your problem would be solved see the
"uuid.hex" generator in the docs...
Les
-Original Message-From: Thierry Hanot
[mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 10:34
AMTo: '[EMAIL PROTECTED]'Subject:
RE: [Hiber
sounds like a bug - add it to the jira - attach the hbm.xml files as files.
/max
Les Hazlewood wrote:
I think I've discovered a fairly serious bug with the joined-subclass
class generation.
As an example, here is the following schema:
column="db_creation_ts"
Sir
What is the order of the code?
1. transaction.commit();
2. Session.flush();
3. Session.save();
4. Session.close();
I don't understand the order between this lines
well ofcourse the 4th line would be last.
thanks
regards
prasad chandrasekaran
---
Title: Message
I was thinking of using a new IdentityGenerator , but it's
not enough because i have the id only after the insert .
The
problem is the following , when you need to access to the DB before the insert
for getting an id , it's ok , you have infos on the table in the IdGenerator ,
Hi,
does somebody has an idea why hibernate create alter statements before
drop/create
statements in the output of SchemaExport? Of course this all will
fail...
Oliver
looks like:
alter table dbmsrequestpassword drop constraint FK22419F066C19A3A2;
alter table sportletdataattributes drop const
16 matches
Mail list logo