Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

id value in B&S 2.3.1

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

in instructions.html writtent that "The id value (an 8 digit number) of the customer who has booked the record'.

it means customer id must have 8 digit number,it can not be less than 8 digit ,correct?



Regards,
Pramod
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Pramod!

Well, I assumed that the customer ID must have 8 digits, and it must be a valid number. For instance, 54824517 or 96418235.
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi pramod,

Because it has to be 8 digit long (I allowed no number less than 8 digits) I used a String to store the customer-id, because else it's quiet hard (requires extra code) to have "12345" (entered as "00012345") as valid customer id. But in the GUI always 8 digits should be entered, otherwise error message is shown.

Kind regards,
Roel
 
pramod karnani
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Roberto and Roel.


Regards,
Pramod
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic