java - Oracle column name issue -


i have parent-child mapping in hibernate entities connected through table.

the problem column automatically created hibernate in table called "_actions_id". use oracle , says column name "_actions_id" invalid.

it works fine when wrap name "" , execute script manually, there way make hibernate wrap columns "" ?

in example, specified join table, scenarios this

people table: pid | name 1   | albert 2   | bob   telephonenumbers table: tid | tel 1   | 123-456 2   | 456-789 3   | 789-012  join table: pid | tid 1   | 1 1   | 2 2   | 3 

i.e. column connects current entity entity in collection in neither current table nor table collection entity. more useful many-to-many mapping, can use onetomany if don't have control on telephonenumbers table example. otherwise should use plain @joincolumn.

the usage of @jointable has been explained many times many websites. see javadoc , this question.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -