Digitei o código conforme a aula, mas quando executo não aparece a impressão do System.out.print no console. O que pode ser?
package br.com.caelum;
import java.beans.PropertyVetoException;
import java.sql.Connection;
import java.sql.SQLException;
import com.mchange.v2.c3p0.ComboPooledDataSource;
import br.com.caelum.JpaConfigurator;
public class TestaPool {
public static void main(String[] args) throws PropertyVetoException, SQLException {
ComboPooledDataSource dataSource = (ComboPooledDataSource) new JpaConfigurator()
.getDataSource();
Connection connection = dataSource.getConnection();
System.out.println(dataSource.getNumBusyConnections());
System.out.println(dataSource.getNumIdleConnections());
}
}