sql « JBoss « JPA Q&A





1. insertupdate sql mysql and jpa entity    stackoverflow.com

I am trying to run an mysql sql statement using the code below;

public void createUpdate(Tsaleline entity) {
    //Insert
    String sql = "Insert into tSaleLine (CenterId, ...

2. logging sql parameters in jboss    forum.hibernate.org

Hello, I'm using hibernate with jboss. Hibernate logs sql like following: select * from ....... where someId=? and I'd like to know values of this '?', value of someId. Is it possible to set logging to log file to log this information? I tried ShowSqlEnabled to true in jboss-service.xml but it is not enough, also CommentsEnabled didn't help. Thanks

3. cant see sql parameters (in jboss , log4j.xml)    forum.hibernate.org

Hey, I am using Jboss server. I add to jboss.lo4j the following categories: Code: ...