Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

use Embedded MySQL Server Library with Java

Posted on 2004-04-04
5
Medium Priority
?
347 Views
Last Modified: 2012-06-22
Hi,

I want to make a build a small standlone application in java using a (simple) database.
I want to embed the database in my application.
Mysql has the Embedded MySQL Server Library, but is accessible only from C clients.
Does anybody know a workaround, or any other solution for that matter?

thanks,

Scriptnov


0
Comment
Question by:scriptnov
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 10751995
0
 
LVL 16

Assisted Solution

by:warturtle
warturtle earned 500 total points
ID: 10752044
Hi,

You could use JUDF(http://software.tangent.org/download/judf-0.2.tar.gz)
 to write some User Defined Function in Java for MySQL, then you can call these Java functions from the SQL executed with the MySQL environment.

This might be helpful in situations, where you can call Java functions from within a database like mySQL. You could essentially write stored procedures to call those java functions from within SQL queries.

This might be the only workaround to using C Api's.

Regards,

Warturtle
0
 

Author Comment

by:scriptnov
ID: 10752282
Thank you both for your answers.

I just came across Hypersonic SQL while 'googling' for java based databases.
I guess it's the best alternative. But I will try out Warturtle's suggestion to make sure it really is.

So if you don't mind I will splitt the points between you.

Regards,

Scriptnov
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10752317
8-)
0
 
LVL 16

Expert Comment

by:warturtle
ID: 10759393
;-)

Thanks,

Warturtle
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question