?
Solved

use Embedded MySQL Server Library with Java

Posted on 2004-04-04
5
Medium Priority
?
344 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month8 days, 11 hours left to enroll

764 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