users@glassfish.java.net

Glassfish V3 Eclipse JDBC & Mysql

From: <glassfish_at_javadesktop.org>
Date: Fri, 20 Aug 2010 01:54:51 PDT

Hello,

i am trying to learn something about glassfish..
i followed the tutorial on http://www.youtube.com/watch?v=CuLYhkqt0V0
It describes how to read a database table by using the java persistence api 2.

I want to realise a connection to a mysql server on localhost.
Everything works fine (connection, creat table, edit data..) but i dont know how i can specify the JTA data source (Video 4:32).

The MySQL server is running on localhost, connection is build with the jdbc mysql-connector (sever and connection are working fine) i think i have to tell in the JTA data source where the database is located, but i am not shure if thats right and how to address it.
[Message sent by forum member 'tallan']

http://forums.java.net/jive/thread.jspa?messageID=480648