513 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
531
views
WARNING: jakarta.persistence.spi::No valid providers found
I'm trying to work with Hibernate and I have tried all the solutions for similar problem, but still can't figure out what's wrong. I'm getting the below error
WARNING: jakarta.persistence.spi::No ...
-1
votes
1
answer
71
views
Spring Boot Hibernate createEntityManagerFactory error when I run JUnit test
Iam wrote an API in Spring Boot with Hibernate. It works fine, but when I start to write tests I got an error:
Error starting ApplicationContext. To display the condition evaluation report re-run your ...
0
votes
1
answer
66
views
How to resolve javax.persistence.PersistenceException with EntityManager named student_pu_test?
Title: "javax.persistence.PersistenceException: No Persistence provider for EntityManager 'student_pu_test' in StudentRepository and StudentRepositoryTest Classes"
Body:
I am encountering a ...
0
votes
2
answers
443
views
Stackoverflow at predeployment of PersistenceUnit Jakarta EE10
The migration of a Webapplication from Java EE8 to Jakarta EE10 based on Payara Fish 6.2023.6 failed during deployment.
WARNUNG: Unsupported deployment descriptors element schemalocation value https:...
0
votes
1
answer
539
views
OpenJPA upgrade for jakarta persistence api
I have been trying to upgrade my project to spring 3.1.0 . It currently uses OpenJpa with java persistence schema 1.x.
If I upgrade the javax.persistence packages to jakarta.persistence packages, with ...
3
votes
1
answer
491
views
JakartaEE JPA container-managed entity manager with in memory db
I am currently exploring JakartaEE and have a very basic application with a few jax-rs endpoints, a service and a "repository". My repository uses the EntityManger to write to the database. ...
1
vote
1
answer
7k
views
Issue: java cannot access jakarta.persistence.Entity
I am trying to build my (yet) simple Java Persistence Project with a MySql Database in the Background and try to access it via Rest over a Java Application. This all doesnt matter, because as soon as ...
0
votes
1
answer
246
views
Hibernate timeout in WildFly
Where I can define the timeout for queries within hibernate in WildFly environment, is it the persistence.xml?
And what is the default value?
<persistence>
<persistence-unit name="my-...
1
vote
0
answers
495
views
JPA - use entities from another jar
I was going going to use some JPA Entities in various apps, so I placed them in a separate JAR and added dependencies in pom where needed. In order to allow persistence provider to "see" the ...
0
votes
0
answers
341
views
Maven Java Project: Having errors on my pom.xml trying to use JPA on eclipse
I'm working on a project that will use JPA to persist and retrieve objects from my SQL workbench database.
Whenever i'm trying to utilise the EntityManager from JPA i get an error:
Error:
Exception in ...
0
votes
2
answers
1k
views
How do I do JPA Batches (Insert) in EclipseLink
I want do use JPA Batches in my code.
I am using this Dependencies:
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>...
2
votes
1
answer
3k
views
Unknown SAXException: Requested schema is not found in local repository
I try to connect my Maven app with my DB with GlassFisch server. I also tried MySql and Postgres, but I got the following error by deploy:
Exception Occurred :Error occurred during deployment: ...
0
votes
1
answer
456
views
Set value of persistence.xml file with properties.config file
I want to set the values of my persistence.xml file with the values from my properties.config.
Is there any way to do this? Like any buildin function?
I think to a function like
factory....
0
votes
1
answer
586
views
Metamodel and the Persistence.xml file
I'm new to Spring Framework and trying to create dynamic search queries for an sql database- similar to what is described in the below thread.
Filtering database rows with spring-data-jpa and spring-...
1
vote
0
answers
2k
views
Cannot get a connection as the driver manager is not properly initialized (could not manage to test database)
**User Class**
This is the user class which has the basic details of user, Id, email, fullname, password.
@Entity
public class Users {
private Integer userId;
private String email;
...