Posts

Showing posts with the label Hibernate

Social network exercise - part1

Image
[UPDATE] - This one is on hold for now. Due to other activities and projects I do not have much time to get involved in it. But database is done ( or at least it's functional for now ) and it's the largest one I've built so far ( 15+ tables ?! ). Frontend is also done for existing pages but I will probably redo it with Angular and SASS or LESS. And yes, some Backend functionalities are done also. Code is not ready to be shown to the world :D  *** Just a concept I've started working on. For now there are only three pages: Login/Signup, Profile and Account settings. Frontend is mostly done. It's simple but needs a few more tweaks + Js/jQuery sweetness. I need to redo a login page cause it's way too ugly. After that going to MySQL and Backend. I should have used SASS!

Employee management system 2

Image
This is a bit enhanced version of employee management system project that I've done before. The GUI is generally the same, except that the data is now displayed inside tables and some colors are changed. Important thing is that ORM is done with Hibernate and HQL.  The code is shown for just two frames (PrikazFrame and IzmenaFrame) out of 5. hibernate.cfg.xml 1: <?xml version="1.0" encoding="UTF-8"?> 2: <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> 3: 4: <hibernate-configuration> 5: <session-factory> 6: <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> 7: <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> 8: <property name="hibernate.connection.url"...