2
Hello, I am doing a project that manages all projects of my company, I am using Hibernate, Javaweb, primefaces, TDD and MVC standard.
My entity is shaped like this for date variables:
@Temporal(value = TemporalType.TIMESTAMP)
@Column(name = "dataInicio_projeto", nullable = false)
private Date dataInicio;
and I used it on the TDD to test her:
projeto1.setDataInicio(new Date());
I need to know how I do in the visual part (JSF) of the project to send the user’s date of choice to the bank, because the bank is modeled according to the entity (I did the reverse engineering).
A friend told me to use variable 'Calendar' because it is an improvement of 'Date', I do not know what to do. I need help...
And how’s your
JSF
? That one post maybe I can help you.– Marconi