Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
RHCSA, RHCE, AWS, Docker, Kubernetes Training
Sanjeewani95
Updated:
Tuesday at 10:28 AM
🛡️ Kaspersky Antivirus – 1 Year / 1 Device | Rs. 2,300 | Only 9 Left
KSPathirana
Updated:
Monday at 2:42 PM
Ad icon
Professional CCTV Installation Service
Techguy231
Updated:
Sep 6, 2026
Ad icon
I'll research & write an article - Rs. 2000 onwards
Blogerwiki
Updated:
Sep 3, 2026
House Plan
lenura
Updated:
Sep 2, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
Identity Server with JPA
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="හෙනයා" data-source="post: 26201325" data-attributes="member: 510186"><p>role entity eke</p><p></p><p>[CODE]@ManyToMany(cascade = CascadeType.ALL,fetch = FetchType.EAGER)</p><p>private Set<User> users;[/CODE]</p><p></p><p>eke mapped by daala na neda? ekata daanna oni user entity class eke roles eka</p><p></p><p>[CODE]@ManyToMany(cascade = CascadeType.ALL,fetch = FetchType.EAGER, mappedBy = 'roles')</p><p>private Set<User> users;[/CODE]</p><p></p><p>dan relations tika uncomment karala run karala balanna.</p><p></p><p>user 1k save weddi aluth roles and permissions e e table walata save welada user save wenna one naththam danata thiyena roles and permissions user_roles and role_permissions join table walata witharak add welada save wenna one?</p><hr /><p></p><p></p><p>danata already <strong>role</strong>, <strong>permission</strong> and <strong>role_permissions</strong> tables wala already data add wela thiyenawanam user save karaddi e data yawanna oni na.. user data and assign wenna one roles tika roles array eke yawwama athi.. ethakota user table ekata data add wela user_roles join table ekata data map wei</p><p>------ <span style="font-size: 10px">Post added on [DATETIME="UT"]1615348198[/DATETIME]</span></p></blockquote><p></p>
[QUOTE="හෙනයා, post: 26201325, member: 510186"] role entity eke [CODE]@ManyToMany(cascade = CascadeType.ALL,fetch = FetchType.EAGER) private Set<User> users;[/CODE] eke mapped by daala na neda? ekata daanna oni user entity class eke roles eka [CODE]@ManyToMany(cascade = CascadeType.ALL,fetch = FetchType.EAGER, mappedBy = 'roles') private Set<User> users;[/CODE] dan relations tika uncomment karala run karala balanna. user 1k save weddi aluth roles and permissions e e table walata save welada user save wenna one naththam danata thiyena roles and permissions user_roles and role_permissions join table walata witharak add welada save wenna one? [HR][/HR] danata already [B]role[/B], [B]permission[/B] and [B]role_permissions[/B] tables wala already data add wela thiyenawanam user save karaddi e data yawanna oni na.. user data and assign wenna one roles tika roles array eke yawwama athi.. ethakota user table ekata data add wela user_roles join table ekata data map wei ------ [SIZE=2]Post added on [DATETIME="UT"]1615348198[/DATETIME][/SIZE] [/QUOTE]
Insert quotes…
Verification
Payakata winadi keeyak tibeda?
Post reply
Top
Bottom