Galera, iniciei com hibernate e consegui fazer ele funcionar, mas aconteceu isso, eu tenho 4 campos na tabela (id,cpf,matricula,nome), ele só está inserindo 3 (cpf, matricula, nome), acredito que deve ser alguma coisa de configuração, estou usando Mysql.
Hibernate: insert into hibernate.aluno (cpf, matricula, nome) values (?, ?, ?)
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.annotations.Version).
log4j:WARN Please initialize the log4j system properly.
Exception in thread “main” org.hibernate.exception.GenericJDBCException: could not insert: [hiber.Aluno]
Se alguém ajudar eu agradeço
valeu