/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.actionbazaar.infrastructure.database;

import javax.annotation.sql.DataSourceDefinition;
import javax.ejb.Singleton;
import javax.ejb.Startup;

/**
 *
 * @author sbutton
 */
@Singleton
@Startup
@DataSourceDefinition(
    name="java:app/test/DataSource",
    description="@DataSourceDefinition for dev testing",
    minPoolSize = 0,
    initialPoolSize = 0,
    className = "org.apache.derby.jdbc.ClientDriver",
    user = "app",
    password = "app",
    url="jdbc:derby://localhost:1527/actionbazaar",
    properties = ";create=true"
)
public class DataSourceSingleton {

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
}
