File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 63540

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: what type should I use ? long Binary ??
jQuery in Action, 3rd edition