Cezar Apulchro

Ranch Hand
+ Follow
since Feb 13, 2013
Cows and Likes
Cows
Total received
3
In last 30 days
0
Total given
0
Likes
Total received
11
Received in last 30 days
0
Total given
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cezar Apulchro

Sorry.
persistence.xml:


Result of test:
5 days ago
JSF
Condition 1:
src/META-INF/persistence.xml

Condition2:
src/main/resources/META-INF/persistence.xml

For condition 1 and 2 result is:

Condition 3:
src/main/resources/persistence.xml
Result:

Now hibernate core is:
5 days ago
JSF
ok i understand, my persistence.xml is located in src/main/resources/META-INF
6 days ago
JSF
After change to hibernate-core 5.6.3.Final I receiving the error:

My hibernate.cfg.xml are located in src/main/resources
6 days ago
JSF
Persistence file:
6 days ago
JSF
Trying to solve my problem I created a simple class to test my persistence.xml and I am receiving error it means that EspecialidadesHbDAO is not accessing my db. Why I don't receiving this error when I execute my project in Netbeans?

Class to test:

Result of test:

6 days ago
JSF
Hi, sorry by delay(internet provider problem "rain"), I don't know where I am wronging but all that I do in debug the result is the same i.e. no results is shown.
Debugger Console:

Tomcat log:

Debug set:
6 days ago
JSF
I had deleted this project many time ago and I don't know why he appear now in deploy of another project. Then I uninstall netbeans, do deleting all references of netbeans and install Apache Netbeans again but to solve this I had to search my pc with explorer to find the project deleted and delete your shortcut. Now half of problem is solved.
Log of execution:

But my problem of "no records found" still the same.
2 weeks ago
JSF
I don't have other information of the error only this.
2 weeks ago
JSF
This?
2 weeks ago
JSF
Hi, trying to solve this problem I created a new project to use hibernate, then I created HibernateUtil, hibernate.cfg.xml and Especialidades.hbm.xml this both in Source Packages and in src/main/resources/ META-INF/ persistence.xml. When executing the project the Tomcat open the browser whith my project and my welcome page, "http://localhost:8080/ClientsW2/" but when I initiate the phrase to inform the page that I need I am receiving "HTTP Status 500 -  internalserver error" this msg occurs i the first letter of address of page that you can see in the picture.

HibernateUtil:

hibernate.cfg.xml

persistence.xml

Hibernate mapping:

Hibernate DAO:

Controller:

Image:
2 weeks ago
JSF