Hibernate is an open-source object/relational mapping toolkit that relieves the need to make direct use of the JDBC API. Hibernate offers facilities for: Data retrieval and update. Transaction management. Database connection pooling. Programmatic as well as declarative queries. I need help troubleshooting a problem that has been recurring for years. It is about a web application, running on Tomcat 9. I am using Hibernate, Postgresql and Tomcat JDBC Connection Pool. The application is running in autocommit=false and CURRENT_SESSION_CONTEXT_CLASS=thread mode. These are the settings of Tomcat data source (JDBC connection Using JPA with Hibernate, I got an exception when running the following code. The first time I run it, everything goes fine and the data is inserted in the database. The second time, when the data should be updated, it fails: For this to be achieved i have introduced insertable and updatable to be false as shown below. @Column (name = "VIRTUAL_COLUMN_NAME_IN_DB", length = 4000, updatable = false, insertable = false) private String x; I have introduced associated getters and setters as well. With the annotations i introduced, i expected variable x to be not included @yashpalbharadwaj update = none means that Hibernate doesn't update a database schema while process a mapping (looks like there is not a none value, you can simply comment or remove hibernate.hbm2ddl.auto). It is not any Exception, because of Hibernate doesn't try to create tables. – I have a problem with Hibernate. When I want to save an object into database, I get this exception: org.hibernate.exception.GenericJDBCException: could not get next sequence value 25P02, current transaction is aborted, commands ignored until end of transaction block My hibernate configuration file is: Post subject: GenericJDBCException: Could not open connection. Posted: Fri Feb 15, 2013 6:51 am. Newbie. Joined: Wed Aug 29, 2012 2:00 pm. Posts: 2. I'm using Spring 3.2.0 with the same version of Spring security and Oracle 10g. Recently, I have upgraded Hibernate from 3.2.5 to 4.2.0.CR1. With this update, the following warnings appear on the Get early access and see previews of new features. nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet at uum09.