I\'m still struggling with changing my Spring Application to use Hibernate with JPA to do database activities. Well apparently from a previous post I need an persistence.xml file. However do I need to
I have a java web application built on Stuts2/Google Guice/JPA.It u开发者_开发百科ses hibernate as the JPA vendor.I would like to add support so it can be used on Google\'s App Engine.Of course I\'m r
I\'ve been briefly looking at JPA recently, and I was wondering what the deal 开发者_如何转开发is with database schema migrations and staying lined up with the classes you\'ve created.
It ispossible to use the Spring Framework\'s @Transactional support outside of a Spring container. In reference documentation is chapter about AspectJ aspect. I\'m trying to use it in my wicket applic
I have an insertOrUpdate method which inserts an Entity when it doesn\'t exist or update it if it does. To enable this, I have to findByIdAndForeignKey, if it returned null insert if not then update.
My persistence.xml has 2 persistence-units. Each of them has several <class> elements. I thought that we must specify all classes related to certain persistence-unit. But I accidentally forgot
I have a problem with a simple @OneToMany mapping between a parent and a child entity. All works well, only that child records are not deleted when I remove them from the collection.
Say I have a Customer - CustomerOrder one-to-many bi-directional relationship with the CustomerOrder holding the total value of each order.
I am getting into App Engine development right now with Java and I am wondering what people think about using the low level api instead of JPA? I understand that JPA may make the solutions more portab
The question is in the title. Below I j开发者_运维百科ust described some of my thoughts and findings.