× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Tony,

The usual thing to do would be to define the Hibernate ID as per the 
existing primary key on the tables.  You can use <composite-id/> if you 
have several primary key columns.

Creating a separate column for a Hibernate ID would be possible in theory, 
but very unusual!

We are using Hibernate (against a copy of some iSeries tables propagated 
to an Oracle database) and it works well.   We haven't used it to talk to 
iSeries DB/2 yet.



Niall





<tony.richardson@xxxxxxxxxxxx> 
Sent by: java400-l-bounces@xxxxxxxxxxxx
12/02/2005 16:56
Please respond to
Java Programming on and around the iSeries / AS400 
<java400-l@xxxxxxxxxxxx>


To
java400-l@xxxxxxxxxxxx
cc

Subject
Hibernate ids






I'm taking a look at Hibernate to replace our existing data access layer, 
and as I look at the pile of books I have front of me one question 
continues to come up. Is the unique retrieval id required or can I just 
the primary keys on my database tables? 

If anyone has any opinions on Hibernate I would love to here them as well. 
 I can be contacted off line at trichardson@xxxxxxxxxxx

--
Thanks,

Tony Richardson
iSeries Developer
JAS Forwarding (USA), Inc.
Atlanta, GA
E-Mail: tony.richardson@xxxxxxxxxxxx, trichardson@xxxxxxxxxx
-- 
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.




The information contained in this e-mail is confidential and
may be privileged. It  is intended only for the addressee(s)
stated above. If you are not an addressee, any use,
dissemination, distribution, publication, or copying
of the information contained in this e-mail
is strictly prohibited.

Friends First Life Assurance Company Ltd is regulated
by the Irish Financial Services Regulatory Authority. 

If you have received this e-mail in error, please immediately
notify us by telephone at 353-1-6610600 or e-mail
Helpdesk@xxxxxxxxxxxxxxx and delete the e-mail
from your system.

Thank you for your co-operation.
Friends First  Group, Cherrywood Business Park , Loughlinstown
Dublin 18.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.