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
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Yesterday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Jun 11, 2026
Ad icon
Wechat qr verification
Pawan2005
Updated:
Jun 11, 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
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom