wiki:AdvancedApplicationDesign/registracija

Version 2 (modified by 216049, 3 months ago) ( diff )

--

Регистрација на корисник

Објанување:

Секој корисник кога ќе создаде профил на апликацијата се подразбира дека е патник и затоа му се доделува улогата Патник. Потоа администраторите можат да додадат или одземат улоги: Кондуктер, Возач или Админ.

Регистрација:

Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon from public.korisnik k1_0 where k1_0.email=?
Hibernate: select r1_0.id,r1_0.description,r1_0.name from public.role r1_0 where upper(r1_0.name) like upper(?) escape '\'
Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon,r1_0.korisnik_id,r1_0.id,r2_0.id,r2_0.description,r2_0.name from public.korisnik k1_0 left join public.korisnik_role r1_0 on k1_0.id=r1_0.korisnik_id left join public.role r2_0 on r2_0.id=r1_0.role_id where k1_0.id=?
Hibernate: update public.korisnik set is_admin=?,adresa=?,email=?,ime=?,lozinka=?,telefon=? where id=?
Hibernate: insert into public.patnik (korisnik_id) values (?) returning id
Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon from public.korisnik k1_0 where k1_0.email=?
Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon from public.korisnik k1_0 where k1_0.email=?
Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon from public.korisnik k1_0 where k1_0.email=?
Hibernate: select r1_0.korisnik_id,r1_0.id,r2_0.id,r2_0.description,r2_0.name from public.korisnik_role r1_0 left join public.role r2_0 on r2_0.id=r1_0.role_id where r1_0.korisnik_id=?
Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon from public.korisnik k1_0 where k1_0.email=?
Hibernate: select r1_0.korisnik_id,r1_0.id,r2_0.id,r2_0.description,r2_0.name from public.korisnik_role r1_0 left join public.role r2_0 on r2_0.id=r1_0.role_id where r1_0.korisnik_id=?

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.