Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

48 hour booking rule

 
Greenhorn
Posts: 7
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

It's my first post here and I'm looking for help.

I'm currently finishing up my OCMJD project "URLyBird 1.3.2".
The instruction.html states "They take bookings only within 48 hours of the start of room occupancy".
The problem with this is, my db file has no rooms which meets this criteria and the user won't be able to book any rooms using the db I was provided with.

Should I implement this? Has anyone had the same problem? Has anyone passed the OCMJD without implementing the 48 hour rule?

Kind Regards,
Paul
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I didn't implement this rule. It's not a must requirement, so you would not fail.
 
Paul Simon Connolly
Greenhorn
Posts: 7
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cheers, that makes feel lot better as I don't see the logic in implementing it! It should really be something that the CSR should enforce if they choose to, not the application as it could seem as a limitation of the application (or annoyance) more than anything else.

e.g. Customer wants to book a room, the room won't be available for another 10 mins (due 48 hour rule), do they have to wait the 10 mins before they can book the room? Is there any leeway?

There seems to be too many open ended questions which could be associated with implementing this, so I think I'll leave it out, but I'll mention my reasons why in my choices.txt
Although I've read forums where people say they failed because they didn't implement it.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Simon Connolly wrote:Although I've read forums where people say they failed because they didn't implement it.


Do you have any examples? Because that would surprise me a lot. I didn't implement it (mentioned it in choices.txt) and passed with full marks.
 
Paul Simon Connolly
Greenhorn
Posts: 7
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yup, here is one I was reading this morning:
https://coderanch.com/t/187852/java-developer-SCJD/certification/failed-due-hours-rule#914861
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's a very, very old topic. I challenge you to find a similar one from 2008-2009 onwards
 
Paul Simon Connolly
Greenhorn
Posts: 7
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

That's a very, very old topic. I challenge you to find a similar one from 2008-2009 onwards



Hahaha, That's very true. I just thought it would be wise to ask the question and be sure.
I'll just go with not implementing and explaining my reasons why.

"Surely if they still wanted people to adhere to the 48 hour, they would've added some valid dates into our db's"

Cheers, Buddy!
 
Ranch Hand
Posts: 159
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just ignored the 48-hours rule and I didn't even mention it in my choices.txt and I passed.
 
What are you saying? I thought you said that Santa gave you that. And this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic