title: EJB3NamingStrategy vs ImprovedNamingStrategy Foreign Key Naming
body: <p>My naming strategy in hibernate was the default one : EJB3NamingStrategy. So the field and table names was in camelcase. I switched it to ImprovedNamingStrategy to have snakecase.</p>
  
  <p>But my foreign keys doesn't include the primary key name of the referenced entity in the name.</p>
  
  <p>Example:</p>
  
  <p>table1:
  id
  name</p>
  
  <p>With EJB3NamingStrategy the table2 fields will be:</p>
  
  <p>table2:
  id
  table1_id</p>
  
  <p>but with ImprovedNamingStrategy the table2 fields will be:
  table2:
  id
  table1</p>
  
  <p>Is there a way to have _id with the ImprovedNamingStrategy. I don't understand why hibernate behave differently because the logicalCollectionColumnName method in both strategy are identical.</p>