Dynamic « Schema « JPA Q&A





1. Dynamic Schema Name in hibernate @Formula Annotation    coderanch.com

Hi Everyone... wow am I stumped. As our project begun, we considered the question of annotations vs xml files, researched and decided on annotations. This so far has worked out fine (1+ years on large project). Recently we decided to use oracle proxy users. If you don't know what that means, don't worry... just know that part of the requirement for ...

2. Dynamic Schema Access in Hibernate    coderanch.com

3. Dynamic schema switch in Hibernate    coderanch.com

HI All, I have a requirement of dynamic switching of database .i.e, we have a screen which requires inputs such as databse url , username/pswd in some way . User can select the DB and connection will happen depending on inputs . This is implemented in JDBC. Now i am switching it to Hibernate . Please let me know how i ...

4. Dynamic schema mapping    forum.hibernate.org

Hibernate version:2.1.7 Name and version of the database you are using: IBM DB2 I am developing an application for a legacy system where a schema exists for each customer. As new customers are added, new schemas are created to hold their data. I would like to have one class and one mapping file for each unique table, not one for each ...

5. Dynamic database schema.    forum.hibernate.org

6. Dynamically change the Oracle schema    forum.hibernate.org

Hi, I've searched the forum but did not find any posts that could help me . Let me describe my problem: - Hibernate 2.8 - An Oracle database (9iR2) with 30 schemas. For each schema a different oracle user is used . An oracle user can only use his schema. At login time the web application finds the schema that the ...

7. Dynamic, content driven schema selection at runtime    forum.hibernate.org

Any help greatfully received - I know this is a little open ended - but its an interesting problem, so here goes: I'd like to able to determine the schema at runtime based on data in a bean persisted by Hibernate. Right now there are 2 occaisons where this would be beneficial - 1. when the data is spread over multiple ...

8. Dynamic change of database schema    forum.hibernate.org

9. Dynamic Schema Name    forum.hibernate.org

Forgive me if this has been asked before. I need to change the schema name in the mappings file depending which environment the application is running. So it means, if I am in development then schema name should be XXXXXX & if in integration then it should be YYYYYY. Is there an easy way to change the mappings? I am currently ...





10. How to switch dynamically between DB schemas    forum.hibernate.org

11. Using dynamic-map to create schema    forum.hibernate.org

I am trying to create a schema using an hbm.xml file (which i plan to generate dynamically) where the entity mode is dynamic-map, so the backing object is a HashMap. I can do this to read from a table but Is what I am trying to do possible for creating a table? Code: ...

12. Dynamic-runtime Hibernate schema change    forum.hibernate.org

Beginner Joined: Tue Apr 24, 2007 12:53 pm Posts: 28 Hopefully this post makes sense and someone can assist me. I have also posted this in the Spring User's forum because even though it is a Hibernate question, I'm attempting to use Spring's support functionality. My organization partitions its data into multiple schema's. In my example we would have a single ...

13. Dynamic Schema Modification - best practice    forum.hibernate.org

b]Hibernate version: 3.2[/b] Name and version of the database you are using: any Hi All, I looking for the best possible solution in building a CRM like application, which amongst other features should provide the capability to the administrator to add/remove/modify fields on all entities available to the system. Considering that the underlying persistancy is hibernate, what would be the best ...