1. How to update a database schema without losing your data with Hibernate? stackoverflow.comImagine you are developing a Java EE app using Hibernate and JBoss. You have a running server that has some important data on it. You release the next version of the ... |
2. hibernate insert data on schema update stackoverflow.comI would like to insert some test data while I start my application after schema update. Can this be done automaticly with some hibernate tools? Or do I have to always ... |
3. How to avoid using hibernate schema update stackoverflow.comI use Hibernate in my day-to-day programming tasks and I find it very good. In particular I love the way it manages schema updates while developing, saving me from a lot ... |
4. Hibernate to update table schema stackoverflow.comI am using hibernate 3.*. I want to update table's one column length from 255 to 512. Table has data already. I have tried "hbm2ddl.auto=update" but I gives me error like : ... |
5. How to get automatic SCHEMA UPDATE on an existing DB with JPA/Hibernate? stackoverflow.comI am trying to update my existing DB schema automatically with JPA-based app (I am using Hibernate as a Persistence provider). What I did is that I have positioned my hbm2dll ... |
6. Hibernate Mapping update before schema generation forum.hibernate.orgHi all, I have a mapping which works well with my h2 embeded db and I want to make it running on Sybase. The problem I encounter is that type="text" is not well supported in Sybase as it can't contain null values. This is a known problem and you probably did a fix available in 3.5.0-Beta-2. http://opensource.atlassian.com/project ... e/HHH-3975 My problem ... |
7. Turn off automatic schema update fails forum.hibernate.orgHello, I use automatic DB creation on development with |
8. could not complete schema update forum.hibernate.orgHi Following are the details I am using two databases, each Database has its own sessionfactories Hibernate version is hibernate3 Oracle Version is 10g Relase2 When I start the websphere applicaiton server then the following error is writting in the application server log. After this error also my Applicaiton is working fine. How to avoide this error please he me out ... |
9. Update schema question forum.hibernate.orgI'm using Hibernate to maintain databases with dynamic structure. I'm using SchemaUpdate class to keep mapping files and db tables synchronized. Mapping file is a source, so I want DB schema to be same as its description in .hbm.xml file. Problem is followed. When I REMOVE one property from mapping file, schema updator does not delete this column in database. Hibernate ... |
10. Updating a Schema forum.hibernate.orgHello, I am doing an internship and I have to develop an application that will work with most RDBMS supported by Hibernate. Hence, it is more than likely than I am going to use Hibernate. However, as my future application will be composed of one "Main Module" and several optional modules (that will be developped later), I will have to change ... |
11. Schema update problem forum.hibernate.orgI'm testing SchemaUpdate without success. Perhaps I'm doing something wrong, but the test case is rather simple: I use the Play / Team example and successfully creates the database using SchemaExport. Then I change one column name from salary to salari (just to test). The following happends (on Sybase, using jConnect 5.5): INFO: processing foreign key constraints alter table Player add ... |
12. how to turn off schema update forum.hibernate.org |
13. What is the correct way to update schema with new release? forum.hibernate.orgWhat is the correct pattern to update schema with new application release? If I release first application release, it is ok to generate the schema using schema export. But what if I in the next application release: - add new fields and tables - remove some fields or tables and move the contained data elsewhere - rename some fields What is ... |
14. Schema update problem forum.hibernate.orgHi all, We are using Hibernate 3.0.5 in an ongoing project. Our backend database is Oracle 9i (9.2) hosted on a RedHat Linux machine. The other day a developer found out that a not-null column is accepting null values with no problem. However in the Hibernate hbm file the column is defined as being not-null. It's possible when the schema was ... |
15. Is it possible to update a table in another schema? forum.hibernate.orgTechnically : no problem. You just have to declare a SessionFactory object for each database. Then just get a session of the right SessionFactory to apply your request, and you're done. The only thing is : I think that if you want to do a transaction including insertion in one schema, then another, it's called a two phase commit and I ... |
16. Schema update fails when using an XADataSource forum.hibernate.orgRegular Joined: Fri Jan 20, 2006 9:38 am Posts: 61 Location: Notts, UK Using JBoss to manage the connections, my DataSource definition looks like this: Code: |
17. Schema Changes, Updating Database forum.hibernate.orgWhat is the best practice for migrating a database to support a change to schema? For example, an application is deployed with a Hibernate version of A; where the database managed by Hibernate is also, implicitly so, version A, too. Changes are made to the schema requiring a new version of the application be deployed. Now existing installs of older versions ... |