This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.dao.dao.user; | |
| import java.util.Collections; | |
| import java.util.Map; | |
| import org.lnu.is.dao.dao.DefaultDao; | |
| import org.lnu.is.domain.user.User; | |
| import org.lnu.is.queries.Query; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.dao.dao.user; | |
| import org.lnu.is.dao.dao.Dao; | |
| import org.lnu.is.domain.user.User; | |
| /** | |
| * User dao interface. | |
| * @author ivanursul | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.dao.dao; | |
| import org.lnu.is.dao.builder.QueryBuilder; | |
| import org.lnu.is.dao.persistence.PersistenceManager; | |
| import org.lnu.is.domain.Model; | |
| import org.lnu.is.pagination.MultiplePagedQuerySearch; | |
| import org.lnu.is.pagination.MultiplePagedSearch; | |
| import org.lnu.is.pagination.PagedResult; | |
| import org.lnu.is.queries.Query; | |
| import org.slf4j.Logger; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.dao.dao; | |
| import org.lnu.is.pagination.MultiplePagedSearch; | |
| import org.lnu.is.pagination.PagedResult; | |
| /** | |
| * Interface, that has all methods, that are needed | |
| * to work with entities. | |
| * @author ivanursul | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE q_ob_person | |
| ( | |
| id bigserial NOT NULL, | |
| persontype_id bigint NOT NULL, | |
| name character varying(200) NOT NULL, | |
| firstname character varying(200), | |
| fathername character varying(200), | |
| surname character varying(200), | |
| photo character varying(250), | |
| gendertype_id bigint NOT NULL, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.dao.persistence.enumtype; | |
| import java.io.Serializable; | |
| import java.sql.PreparedStatement; | |
| import java.sql.ResultSet; | |
| import java.sql.SQLException; | |
| import java.sql.Types; | |
| import java.util.Properties; | |
| import org.hibernate.HibernateException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.domain; | |
| import java.io.Serializable; | |
| import java.util.Date; | |
| import javax.persistence.Column; | |
| import javax.persistence.EnumType; | |
| import javax.persistence.Enumerated; | |
| import javax.persistence.GeneratedValue; | |
| import javax.persistence.GenerationType; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.domain.common; | |
| /** | |
| * Enum, that describes row status of each row in database. | |
| * @author ivanursul | |
| * | |
| */ | |
| public enum RowStatus { | |
| ACTIVE, | |
| DELETED; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.domain; | |
| import java.io.Serializable; | |
| import java.util.Date; | |
| import javax.persistence.Column; | |
| import javax.persistence.EnumType; | |
| import javax.persistence.Enumerated; | |
| import javax.persistence.GeneratedValue; | |
| import javax.persistence.GenerationType; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <project | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | |
| xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>is-lnu</groupId> | |
| <artifactId>is-lnu</artifactId> | |
| <version>0.0.5-SNAPSHOT</version> |