Posted on 16 Aug 2022, this text provides information on Syllabus Queries related to Course Queries. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
I mapped some classes to some tables with hibernate in Java, i set Hibernate to show SQL, it opens the session, it shows that it does the SQL, it closes the session but there are no modifications to the database.
Entity
publicclassProfesorimplementsComparable<Profesor>{privateint id;privateString nume;privateString prenume;privateint departament_id;privateSet<Disciplina> listaDiscipline;//the teacher gives some courses}publicclassDisciplinaimplementsComparable<Disciplina>{//the course classprivateint id;privateString denumire;privateString syllabus;privateString schNotare;privateSet<Lectie> lectii;privateSet<Tema> listaTeme;privateSet<Grup> listaGrupuri;// the course gets teached/assigmened to some groups of studentsprivateSet<Assignment> listAssignments;}
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that
you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice
sessions to improve your knowledge and scores.
manpreet
Best Answer
2 years ago
I mapped some classes to some tables with hibernate in Java, i set Hibernate to show SQL, it opens the session, it shows that it does the SQL, it closes the session but there are no modifications to the database.
Entity
Mapping