O hibernate nao está gerando minhas tabelas, mas tambem não mostra erro nenhum e nenhum comando sql (que ele supostamente iria criar a tabela)! Alguem tem ideia? hahahaah
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.tool.hbm2ddl.SchemaExport;
import br.edu.unijales.uniweb.modelo.Noticia;
public class GenerateTable {
public static void main(String[] args) {
AnnotationConfiguration cfg = new AnnotationConfiguration();
cfg.addAnnotatedClass(Noticia.class);
new SchemaExport(cfg).create(true,true);
}
}