• Post Reply Bookmark Topic Watch Topic
  • New Topic

No connection specified for project. No database-specific validation will be performed  RSS feed

 
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi expert,

I have been trying to diagnose the above problem but without avail.

Basically, I am trying to use Java ee builit in JPA with hibernate framework.

So, I created the below persistence.xml :



Furthermore, I got the below error log indicating that the connection is not there.



Hope someone can tell me what's wrong with the configuration and how should things be done.

Tks.


[/code]
 
Ranch Hand
Posts: 420
6
Netbeans IDE Oracle Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably your persistence.xml is ignored.

Try another solution to configure the connection to database.

 
You don't like waffles? Well, do you like this tiny ad?
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!