-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Error in the errata for JPwH p. 170: param not para
PostPosted: Wed Apr 09, 2008 7:31 am 
Newbie

Joined: Wed Apr 09, 2008 7:07 am
Posts: 3
Location: Hamburg, Germany
The errata for Java Persistence with Hibernate says:

Quote:
---------------------- ISSUES FOUND IN SECOND PRINT & EBOOK (07.12.2006) --------------------------

Page 170, first code example: Replace all occurrences of "<parameter>" and "</parameter>" with "<para>" and "</para>"


I think that this erratum is incorrect, and that the replacements should be <param> and </param>, with an extra -m on the end.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 14, 2008 2:13 am 
Newbie

Joined: Wed Aug 02, 2006 9:40 pm
Posts: 13
Location: China
Yes, Should be

<id column="MY_ID">
<generator class="sequence">
<param name="sequence">MY_SEQUENCE</param>
<param name="parameters">
INCREMENT BY 1 START WITH 1
</param>
</generator>
</id>

_________________
http://YuLimin.JavaEye.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.