IntelliJ Java IDE
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes visualize db.db Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "visualize db.db" Watch "visualize db.db" New topic
Author

visualize db.db

ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
How can I see the contents of the db.db ? If I can do so, it would be very helpful for me to debug my development.
Could someone help me for this matter?
Thanks
Ruilin
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Yes, you can use the code provided to you, use the function to read in the file, then output them as you wish.
You really need the readable format for you to debug the application.
ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
Thanks. This is what I am doing. I thought you may have other ways to look it directly (e.g. convert it into a visuable table).
Thanks again
Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
Yeah, you know, you can look at it in a binary editor. But Adrian's right, the best thing is to get it up and running. When I first started, I spent a lot of time thinking, "If I could just see what the data LOOKS like...", but finally I opened it up in a binary editor and it looked like what I thought it would look like and ultimately that didn't tell me much of anything. Your much better off coming to the realization that the classes in the db dir are all you need to get up and running, and any questions you have about the data can be answered via class Data.
With Respect,
Matt
ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
Matt,
Thanks for your comments. Could you tell me how I can get the binary editor ?
Thanks
Ruilin
Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
Hmmmm....best I could say is try shareware.com...they're bound
to have one. I used one at my company, but it's internal use only. I'll bet shareware.com has one. You could write one in C very easily if you know C.
With Respect,
Matt
 
 
subject: visualize db.db
 
Threads others viewed
database file name
JAR packaging problem
Is there any possibility of changing the db.db file??
Regarding db.db file
Local mode an d remote mode
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com