Solved

use Embedded MySQL Server Library with Java

Posted on 2004-04-04
5
341 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 125 total points
ID: 10751995
0
 
LVL 16

Assisted Solution

by:warturtle
warturtle earned 125 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

732 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