facebook

Converting column names to variable names?

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

    kylewburke
    Member

    Is there a way, using the DB Browser or any other View for that matter, to convert DB column names to hungarian notation, for use as variables? If this were possible, I/we would have to do almost nothing to generate all of the hibernate artifacts for a given table.Yeah, I’m lazy, so what! 😀

    #248892 Reply

    Riyad Kalla
    Member

    Hungarian notation being
    user_table = UserTable

    or what do you mean? By default our mapping tools do what I gave above and I believe a bug was fixed to honor camel humps now even in the table name although I’m not a huge fan of them
    userTable = UserTable

    #248907 Reply

    Haris Peco
    Member

    kylewburke ,

    You can’t do it now (except editing hbm.xml and call ‘generate POJO’).It will be possible in future releases

    Best

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Converting column names to variable names?

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