Announcement Announcement Module
Collapse
No announcement yet.
dynamic table creation in hiberante?? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • dynamic table creation in hiberante??

    hello,

    m new to hibernate, n i want to create table at runtime, like when a user subscribes my website, i want some tables to be created, does hibernate support tat, and if ye, how?

    thanks in advance?.

  • #2
    First of all, you shall ask such questions about hibernate on hibernate forums
    Secondly, this is the most unrecommended way to implement DB-layer.
    At 3rd, I don't think, that hibernate supports DB-schema modifications. Even if it does, the consequences of such change will be drastic: you would have to:
    - shut your SessionFactory down
    - re-generate new mappings and maybe classes
    - start the SF again
    - repeat these steps for EACH CLIENT

    Comment


    • #3
      It does sound like a strange thing to do. Is there any chance you could provide more details of what you actually want to do. There might be some better ways of solving your problem.

      Comment

      Working...
      X