This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes what type should I use ? long Binary ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "what type should I use ? long Binary ??" Watch "what type should I use ? long Binary ??" New topic
Author

what type should I use ? long Binary ??

Yashnoo lyo
Ranch Hand

Joined: Feb 17, 2003
Posts: 152
Hi everyone:

I want to use MySQL as my Database.But I come across a problem. MySQL have some data types like


I know data type varchar is java String only. What java data type should I use according MySQL? For example : What is long binary in Java ? Is it Blob? Thks :roll:


When I face C# and Java I choose Java.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Obviously not a JSP question. Please take the time to choose the appropriate forum to post questions. Moving to the JDBC forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what type should I use ? long Binary ??
 
Similar Threads
Strange characters from query after encrypt/decrypt
Large amount of data
How to get the BLOB
Understanding Byte Data and Character Encoding
Problem while retrieving values from table