1. Join native SQL as property in dynamic class forum.hibernate.orgHello Community, I'm currently planning the migration process of my company from C and native SQL to Java and Hibernate. Since most of our objects are not known at deployment-time (our table-definitions are mostly stored in the database) we're going to work with |
2. dynamic properties for the persistence.xml forum.hibernate.orgIm trying to swap 2 persistence.xml files (ie 1persistence unit within one file) depending on the value of a jboss system property. we are using container management and dependency injection so ideally the 'switch' should work seamlessly without managing the entitymanagerfactory or entitymanager lifecycle. So the persistence unit name should stay the same. we are using jboss 4.2.3GA which has Hibernate-entitymanager ... |
3. Dynamic business properties (long but please try to help me) forum.hibernate.orgHibernate version: 2.1.6 & 3.0rc1 Name and version of the database you are using: mssql & mysql I'm about to add functionality to an application where the system administrator should be able to add properties/fields to objects from the GUI without actually alter any physical tables. Adding a property is just adding a metadata record where you specify name, data type, ... |
4. dynamic update property is not working forum.hibernate.orgI am using Dynamic-update property in the mapping file of hibernate so that only the required columns are updated, but when i look at the log, all the columns are being updated, where as only the modifed should have been updated as per meant by the use of Dynamic-update property. Can any one tell me why the Dynamic -update property is ... |
5. dynamic update property is not working forum.hibernate.orgI am using Dynamic-update property in the mapping file of hibernate so that only the required columns are updated, but when i look at the log, all the columns are being updated, where as only the modifed should have been updated as per meant by the use of Dynamic-update property. Can any one tell me why the Dynamic -update property is ... |
6. Dynamic properties forum.hibernate.orgHi everybody! This is more of a general system/db design question, but I was wondering if any of you had the chance to tackle this. Maybe even with Hibernate. Hope you have some time to chat on this. Now, i must warn you, I am a newbie so don't get mad on me :) I did searched before asked. I want ... |
7. Dynamically changing hibernate.show_sql property forum.hibernate.orgHi All, How i can change hibernate.show_sql property programatically without bring down the ApplicationServer. The requirement is hibernate.show_sql property could be changing without shutting down the server. Here the hibernate configuration file where hibernate.show_sql property value is hardcoded to "true". |
8. Dynamic Update conflicts with unsaved-value property forum.hibernate.orgThanks for the reply.. To get dynamic update working I guess we don't need to do any thing. So here is the flow. 1. Start a transaction (in our case it's EJB ) 2. load an object 3. Make changes to object and persist it. So if you change the hbm file with un-saved attribute the dynamic update set to true ... |