Cambiadas todas las listas deplegables fijas, a listas con búsqueda AJAX
integrada (Estilo typeahead). Permite búsquedas en tiempo real. * Se muestra información organizada por columnas de datos. * Identificadores basados en Ids autogenerados. * Nuevos métodos en EJB común para poder realizar búsquedas de datos con filtro y paginadas (para los comboBox). * Varias correcciones de interfaz de usuario. * Nueva clase de utilidades.
This commit is contained in:
@@ -2,6 +2,7 @@ package jpa;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
@@ -22,7 +23,8 @@ public class SpecialistDoctorJPA implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy=GenerationType.IDENTITY)
|
||||
@Column(updatable = false)
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Integer id;
|
||||
private String nif;
|
||||
private String name;
|
||||
@@ -30,7 +32,7 @@ public class SpecialistDoctorJPA implements Serializable {
|
||||
private String password;
|
||||
private String email;
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "MedicalSpecialtyId")
|
||||
@JoinColumn(name = "MedicalSpecialtyId")
|
||||
private MedicalSpecialtyJPA medicalSpecialty;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user