On Tue, 01 Mar 2011 09:35:00 -0300, robnangle <robnan...@gmail.com> wrote:

Ye I noticed that but cant see what could be wrong with that line:

Line 245:
String statement = "INSERT INTO teams(user_id, team_name, keeper, fullBack1, fullBack2, fullBack3, halfBack1, halfBack2, halfBack3, midfield1, midfield2,
halfForward1, halfForward2, halfForward3, fullForward1, fullForward2,
fullForward3) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
                
Line 246:
prep = conn.prepareStatement(statement);

The conn variable seems to be null. And are you sure you want JDBC code in a Tapestry page?

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to