mysql+ MyEclipse
Development of online examination system
No login registration, to simulate the realization of computer network examination system
http://jkx.cxtc.edu.cn/ks/
Browse to start your answer
You can see the answer when you submit.
The current project does not have a scoring process, and the user's answer record is not echoed.
The framework only uses the Hibernate framework to simplify database operations.
Random fetch n Information statement aspect
list<parper> list= session.createquery ("from Parper Order by rand ()"). Setfirstresult (0). Setmaxresults (2). List ( );
After the linked list is constructed, it disappears after leaving the session.
So the background is not using filter to implement Opensessioninview,
A copy of the list linked list is used, so a little bit slower when accessing the connection.
For part of the code, domain is generated by reverse engineering, so the actual beat of the code is just dozens of lines.
The code is uploaded to the connection to remember to continue learning.
Database section
Just a table
ID question A B ture
After design simple table plus primary key is appropriate, and avoid ture and other keywords
Online test system for small projects