facebook

column selection

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

    Hi,
    Is there any way to select few columns in table and generate a Hibernate mapping with only those columns.
    I have large column tables but I use only couple of columns in my project. I dont want to generate huge mapping.

    Thanks
    Sreenivas

    #251950 Reply

    Riyad Kalla
    Member

    Sreenivas,
    There currently isn’t a way to trim down the column mappings, although Hibernate is intelligent about only mapping values that have changed, so each time you save or update an object state, not necessarily all the fields are persisted. Of course this can be configured.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: column selection

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