facebook

Hubernate syncronization

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220970 Reply

    Marcio Lima
    Member

    Is that possible to syncronize a DB table with a hibernate class already created? I have a class and i need to include one more column to it so i have to update the POJO class and the hbm file. There are any function to automate this task for me?

    Thanks

    #220993 Reply

    Riyad Kalla
    Member

    If you generate Hibernate classes from your database in MyEclipse, it will generate base Abstract classes for you that will be overwritten each time and concrete implementation classes that you can add any custom code to. If you were to synchronize now, your POJO would most likely be replaced by generated classes from MyEclipse that you could then build on, safely regenerating when any changes came along as long as you put your custom code in the concrete impl class and not the base abstract class. We don’t currently support partially synchronizing existing classes or the like.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Hubernate syncronization

You must be logged in to post in the forum log in