-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Role cannot create #2
Comments
Hi @ahheaSK . What error do you get when you try to insert a new role programmatically? If you can paste the stacktrace that would be great |
I create own function more it call creat entity.
It work monal when I create then it return it correctly what that I expect.
But It seems in database insert it have only one record. But I input
directly in posgres UI it work.
…On Wed, 27 Mar 2024, 12:06 pm Chijioke Ibekwe, ***@***.***> wrote:
Hi @ahheaSK <https://github.com/ahheaSK> . What error do you get when you
try to insert a new role programmatically? If you can paste the stacktrace
that would be great
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBMZZC4ZQTDEXWVHD4TH333Y2JHXFAVCNFSM6AAAAABFI6NBD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRRHE2DGMZZGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ahheaSK I'm guessing the issue is from the role name which is supposed to be an enum and uses the Let me know how it goes. |
Role cannot create by code.
but insert direct in database it okay.
You have some config on it.
ServiceImpl
@OverRide
public Role create(Role role) {
// TODO Auto-generated method stub
return roleRepository.save(role);
}
The text was updated successfully, but these errors were encountered: