This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60046
    
  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
Problem while retrieving values from table
How to get the BLOB
Large amount of data
Understanding Byte Data and Character Encoding
Strange characters from query after encrypt/decrypt