See conf/log4j.xml about how to enable additional traceing of parameters to a prepared statement.
Try setting "not null" attributes in ejbCreate().
Thanks!! That was easy. But I am still trying to find why my userName is set to null. But I can dig more within my project. But your suggestion will help to keep an eye on the SQL statements.