• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

LIVE_RECORD

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone
I have completed my data conversion tool. Before moving on I am testing it with the data class. I am stuck on the following;
if(buffer[0]==LIVE_RECORD)
from the readRecord(). I know the byte buffer is sized to contain a record and db.read(buffer) will read in a record. This is confusing for me. Any help appreciated.
TIA Kevin
 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
It funny, in my requirement I don't have to make data conversion tool !
 
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, what is this notorious "data conversion" tool that is never mentioned in my assignment?
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
The LIVE_RECORD variable is used to identify
record(s) that have not been deleted while
DELETED_RECORD indicates a record has been
deleted and is no longer active.
Deleted record(s) are not actually removed
from the database file.
Cheer

Originally posted by Kevin Nido:
Hi everyone
I have completed my data conversion tool. Before moving on I am testing it with the data class. I am stuck on the following;
if(buffer[0]==LIVE_RECORD)
from the readRecord(). I know the byte buffer is sized to contain a record and db.read(buffer) will read in a record. This is confusing for me. Any help appreciated.
TIA Kevin


 
author
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand the requirement to write a conversion tool has been removed from recent versions of the assignment. Don't worry. Just stick to what your own assignment tells you to do.
- Peter
 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic