Search:

Type: Posts; User: newbie

Search: Search took 0.11 seconds.

  1. Replies
    2
    Views
    2,152

    [SOLVED] Re: Resource Injection

    Yeah you were right, needed to create a persistence.xml file, which was easy enough to create via IDE wizard. Afterwards, all that was needed was to specify my database name in the annotation...
  2. Replies
    2
    Views
    2,152

    [SOLVED] Resource Injection

    I've recently discovered that instead of using

    Class.forName("com.mysql.jdbc.Driver");
    DriverManager.getConnection("jdbc:mysql://localhost/DBname", "username", "password");

    to connect to a...
Results 1 to 2 of 2