sql adn java sec stuff