wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "what type should I use ? long Binary ??" Watch "what type should I use ? long Binary ??" New topic

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

Joined: Jan 10, 2002
Posts: 60739

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
How to get the BLOB
Understanding Byte Data and Character Encoding
Large amount of data
Problem while retrieving values from table
Strange characters from query after encrypt/decrypt