Skip to content

Synched the table name in the query and in the database.#93

Open
abdurraffaysyed wants to merge 7 commits intojaygajera17:master2from
abdurraffaysyed:Abdurraffay/FixingIssue#82
Open

Synched the table name in the query and in the database.#93
abdurraffaysyed wants to merge 7 commits intojaygajera17:master2from
abdurraffaysyed:Abdurraffay/FixingIssue#82

Conversation

@abdurraffaysyed
Copy link
Copy Markdown

@abdurraffaysyed abdurraffaysyed commented Feb 5, 2025

solved issue #82

LAPTOP-7N6ULLAH\Admin and others added 4 commits February 5, 2025 23:45
@Transactional
public User getUserByUsername(String username) {
Query<User> query = sessionFactory.getCurrentSession().createQuery("from User where username = :username", User.class);
Query<User> query = sessionFactory.getCurrentSession().createQuery("from CUSTOMER where username = :username", User.class);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the login issue.🙌

@VaspulaVijayaLakshmi
Copy link
Copy Markdown

LGTM

@abdurraffaysyed
Copy link
Copy Markdown
Author

Thankyou @VaspulaVijayaLakshmi for reviewing the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants