Click here to Skip to main content
14,575,874 members
Rate this:
Please Sign up or sign in to vote.
See more:
I want to store xml file in netbeans database but I don't know the suitable field's data type.

If anyone knows the solution, please help.
Posted
Updated 17-May-11 23:02pm
v2
Comments
Dalek Dave 18-May-11 5:02am
   
Edited for Grammar.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

If you do not need to search the content and can key it with external fields, the best datatype for this would be a BLOB [binary large object] if you need to hold the XML data in the database.
Another alternative is to hold the name in the file containing the XML.
   
v3
Comments
Hackaholic 18-May-11 5:21am
   
Yes I want to store the entire file. thnx for helping ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100