Originally posted by gemini:
Hi,
How long does it take to do the conversion tool? Have u done it by means of a GUI? How do we check that we have done it correctly or not?
Jayanthi.
Originally posted by Remco Rotteveel:
Yes, you are right about the MAGIC. I once tried to open some random files to see what would happen, and it wasn't pretty. The constructor reads an int from the file and makes a FieldInfo[] the size of that int. With one non-database file I noticed that it was trying to create a FieldInfo[] with more than a billion elements, so it threw an OutOfMemoryError. Different files produce different exceptions, but it is very hard to catch them.
So yes, the MAGIC should be the first thing in the file.
Regards,
Remco.
Don't get me started about those stupid light bulbs. |