Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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

NX:problem about the databass

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I have a problem in my assignment . there is a statment says that "you must reimplement the databass from the scrach code withnot change the format of the data file ". what does this statment mean? how can I reimplement the data file ?/ does this relect to the record number?/
any help will thanks on time //
 
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it means you have to code everything required to make your databse work, but you cannot change the actual database file at all, so you cant go insert primary keys for example, but what you can do is write the database code in a way that it deals with record numbers
 
Sun qinlong
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Ta Ri Ki Sun
what do you mean about"you have to code everything required to make your databse work"
does it means that i use the delet/creat/updat
method to reimplement the databass??
think you //
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi qinlong,
Are u a chinese guy,me too,if questions,let's discuss.
 
Ta Ri Ki Sun
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Sun qinlong:
hi Ta Ri Ki Sun
what do you mean about"you have to code everything required to make your databse work"
does it means that i use the delet/creat/updat
method to reimplement the databass??
think you //



Yes exactly that Sun qinlong, in my assignment I have an interface that I have to implement, and it includes the methods you mentioned above, but those on their own are not nearly enough, so you code some helper methods to initialise the database server on start up, which includes assigning record numbers, which you need for methods like read(int recNo)
 
Sun qinlong
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Nick Lee
ye I am chinese in xi'an . what about you ?
keep in touch . and discuss with each other
 
Eat that pie! EAT IT! Now read this tiny ad. READ IT!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic