- 
        1. Re: EJB3 multiple embedded component safe namingstrategygavin.king Jan 23, 2006 9:27 AM (in response to js8523)I've no idea what you're talking about... 
- 
        2. Re: EJB3 multiple embedded component safe namingstrategyjs8523 Jan 23, 2006 10:30 AM (in response to js8523)Sorry for the confusion 
 Gavin, I saw your name on the original implementation of the hibernate naming strategy, therefore I thought you were the most appropriate person to ask.
 I eventually found the resolution in a mail group email.
 you use the following setting in your persistence.xml
 This resolves the issue when you have two objects (of type Embeddable) in a entity, and the default naming strategy tries to give a table with two identitical column names.
 I hope this helps other people.
 Many thanks,
 James
- 
        3. Re: EJB3 multiple embedded component safe namingstrategygavin.king Jan 23, 2006 10:31 AM (in response to js8523):-) 
- 
        4. Re: EJB3 multiple embedded component safe namingstrategyjs8523 Jan 23, 2006 10:33 AM (in response to js8523)Sorry for the confusion 
 Gavin, I saw your name on the original implementation of the hibernate naming strategy, therefore I thought you were the most appropriate person to ask.
 I eventually found the resolution in a mail group email.
 you use the following setting in your persistence.xml<property name="hibernate.ejb.naming_strategy" value="org.hibernate.cfg.DefaultComponentSafeNamingStrategy" /> 
 This resolves the issue when you have two objects (of type Embeddable) in a entity, and the default naming strategy tries to give a table with two identitical column names.
 I hope this helps other people.
 Many thanks,
 James
- 
        5. Re: EJB3 multiple embedded component safe namingstrategyjs8523 Jan 23, 2006 10:34 AM (in response to js8523)Sorry missing from original post <property name="hibernate.ejb.naming_strategy" value="org.hibernate.cfg.DefaultComponentSafeNamingStrategy" /> 
 
    