{"push_id":562060267,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"61763c53df6ac322657971adf1c94b3e21e910df","before":"5d389df2e6590796b4397e9e9d10f0e08fcdfc48","commits":[{"sha":"61763c53df6ac322657971adf1c94b3e21e910df","author":{"email":"05d42497b50f0a48a7cf1e474085bb86a632031d@gmail.com","name":"damivanrs"},"message":"Hibernate Caìtulo 18 - Interceptor\n\nDebido a la version 4.1. No puedo declararla el interceptor:\nSession session = factory.openSession( new MyInterceptor() );\n\ncomo indican los apuntes.\nHe tenido que declararlo dentro del constructor:\npublic ManageEmployee(){\nConfiguration conf=new Configuration();\nconf.setInterceptor(new MyInterceptor());\nconf.configure();\nServiceRegistry serv = new\nServiceRegistryBuilder().applySettings(conf.getProperties()).buildServiceRegistry();\nfactory=conf.buildSessionFactory(serv);\n}","distinct":true,"url":"https://api.github.com/repos/damivanrs/Hibernate/commits/61763c53df6ac322657971adf1c94b3e21e910df"}]}