Skip to content

Conversation

@abdurraffaysyed
Copy link

@abdurraffaysyed abdurraffaysyed commented Feb 5, 2025

solved issue #82

LAPTOP-7N6ULLAH\Admin and others added 3 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);

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

LGTM

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