guice-persist Questions
2
Solved
I am trying to create a simple service class with a @Transactional annotated method using Guice Persist:
public class TestServiceImpl implements TestService {
@Inject
private Provider<Entity...
Cleat asked 4/3, 2014 at 9:22
0
I need to share datasource with JpaPersistModule. This datasource is provided by guice injector.
Now the problem I have to build module during configuration phase, but datasource is available only...
Organography asked 14/10, 2015 at 14:9
1
Solved
I have a java8 desktop app using GuicePersist, Hibernate, and HikariCP to communicate with a Postgres DB. I've had success getting my app to send/receive data to the DB using this META-INF/persiste...
Scraggly asked 18/6, 2015 at 15:47
1
Solved
I was trying to get simple webapp working with Guice and JPA on Jetty, using the persistence and servlet guice extensions.
I have written this Service implementation class:
public class PersonSer...
Spae asked 28/2, 2015 at 21:37
4
Solved
We use Guice Persist to inject EntityManager in our project.
E.g.
public class MyDao{
@Inject
EntityManager em;
public void someMethod(){
//uses em instance
}
}
But it is unclear for us h...
Pumphrey asked 7/8, 2013 at 10:51
1
Solved
I have a web application that has some strange behavior where I can't really put my finger on.
The core of my problem is that there is an inconsistent behavior in the values returned by my rest en...
Stretcher asked 6/5, 2014 at 19:37
1
Solved
For some reason hibernate is not catching issues like mapping entities to tables that do not exist. My persistence.xml file looks like this...
<?xml version="1.0" encoding="UTF-8" ?>
<per...
Montelongo asked 15/9, 2011 at 23:20
1
© 2022 - 2024 — McMap. All rights reserved.