Home Many to Many but add one more column how to do it?
Reply: 1

Many to Many but add one more column how to do it?

Mark
1#
Mark Published in 2018-02-10 14:15:48Z

it creates the business_handled table but I need to add one more column in the business_handled table.

I need to add a "Role" column which contains "Owner", "Manager", "Encoder".

any ideas? I've been searching for a while can't find the solution

osama yaccoub
2#
osama yaccoub Reply to 2018-02-10 18:50:47Z

Jpa doesn't support this feature ... The only solution is to make the business_handled another entity with one to many relationship with each of business and user entities and add whatever atreibute u need inside

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.326123 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO