Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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
  • 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

Do you need a text file for meta data of database

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, every one,
I hava a question regard the developer ceritfication.
Do you need a text file to put all field names and field lengths, all separated by "^", then read the information by StringTokenizer to contructor new instances of FieldInfo.
What is the field length, some posts mention it should be char length. For example, how long for carrier, how long for duration.
Thank you very much.
Tom Gan
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi, every one,
I hava a question regard the developer ceritfication.
Do you need a text file to put all field names and field lengths, all separated by "^", then read the information by StringTokenizer to contructor new instances of FieldInfo.
What is the field length, some posts mention it should be char length. For example, how long for carrier, how long for duration.
Thank you very much.
Tom Gan

I have also used a text file for meta data. but I did not use a ^ symbol instead i just used the made all the field names into single words using java naming convention. it was then tokenized and then based on the dataset provided the lenght of each was set in this file.
Hope this helps
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the java naming convention you are talking abt? Someone enlighten me.
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PROPER NAMES ARE NOW REQUIRED!!
Read this post for details.
Ajith
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lets say you have a column in the name of destiantion airport all i did was i made a column with the name as destinationAirport, thats the kind os convention I am talking about. No delimiters used. Makes things more complicated that way.
 
I'm full of tinier men! And a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic