1. How to cascade persist using JPA/EclipseLink stackoverflow.comI am having problems performing a cascade persist operation on a parent entity. When the child entity is persisted, the reference (generated id) to the parent entity is null. ... |
2. EclipseLink cascade persist exception stackoverflow.comI am getting "During synchronization a new object was found through a relationship that was not marked cascade PERSIST" when attempting to persist an object Word() that has a Many-To-Many field ... |
3. Problems with generating sql via eclipseLink - missing separator stackoverflow.comi'am using eclipseLink with jpa. in my persistence.xml, i defined to generate a create.sql file. the file will be generated, but with missing ';'-separators for each sql statement. is there a possibility to ... |
4. Why does eclipselink/jpa attempt to persist an entity while I don't ask it to? stackoverflow.comI'm trying to persist 3 entities (exp,def,meng) in a transaction, and then persist another 2 (def', meng'), where meng' is related to exp. However, as I attempt to persist meng' eclipselink/jpa2 is ... |
5. JPA: Eclipselink does not persist bi-directional relationships in database stackoverflow.comMy domain model in my Java EE 6 application contains bi-directional relationships like the following:
|
6. How to get Eclipse JPA (Dali) to use persistence.xml from another project? stackoverflow.comI have two Eclipse Maven Java projects. A domain project that is laden with JPA annotations and a persist project that implements DAOs for the domain objects. The ... |
7. Jointable update between transient and persistent objects? stackoverflow.comI have a Many-to-Many relationship between a persistent object (retrieved by a query) and a newly created transient object (created with new, not yet persisted). They are connected via a @JoinTable association, ... |
8. javax.persistence.* sources, where? stackoverflow.comI might be missing something really obvious here, but i couldn't find the sources for a few classes from the javax.persistence package. |
9. How to enable swapping db connection parameters with EclipseLink/JPA stackoverflow.comWe have projects of various types such as a backend java process and a front-end tomcat app that currently use EclipseLink/JPA and persistence.xml to get the db connection info. Is ... |
10. Multiple logins of a persistence unit? stackoverflow.comHey guys I'm using eclipse link for JPA in my Java SE project. I'm using "jpa controller" classes for each of my tables in my databases(is this the correct way). ... |
11. Database settings in persistence.xml not used stackoverflow.comI'm new to JPA, and to try to teach myself, I'm setting up a tiny web application and deploying to Glassfish 3.1. JPA works fine when I refer to a JNDI DataSource ... |
12. JPA Error: duplicate key error when persisting a relationship stackoverflow.comHello |
13. JPA 2 - OneToOne cross reference stackoverflow.comI have been struggling with this issue for a while now, and can't seem to find a solution anywhere. Maybe I have misunderstood something, but would really appreciate it if someone ... |
14. JPA persistence.xml stackoverflow.comIs there a way to make the data on the persistence.xml dynamic? I was thinking of adding a database name property on my properties file, then the tables are created, if not ... |
15. EclipseLink JPA: How can I specify zeroDateTimeBehavior=converToNull stackoverflow.comI need to set the zeroDateTimeBehavior property to convertToNull in my EclipseLink configuration. I am using a properties file where I am using javax.persistence.jdbc.url and other similar properties. But where can ... |
16. How do I prevent EclipseLink (JPA 2.0) from clearing my database/table? stackoverflow.comI'm using EclipseLink (JPA 2.0) on Netbeans 7.0 with a MySQL database - which I configured according to this screencast. But sometimes when I persist an Object/Entity my table ... |
17. Persistence.xml where to put in eclipse project stackoverflow.comSimple question...
Problem is where to put persistance.xml file? Getting exception: java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for ... |
18. Java JPA (EclipseLink) How to receive the next GeneratedValue before persisting actual entity? stackoverflow.comGood afternoon, everybody. I'm using the EclipseLink implemetation of JPA and i've got a problem. Here is my entity class: @Entity @Table(name = "attendances") public class Attendance implements Serializable { |
19. JPA not insert the data in the row after persist stackoverflow.comI am using an ID generated value in my entity
|
20. Updated data (in Database) is not visible via JPA/Eclipselink stackoverflow.comI have Oracle DB and Java project which is connected to the DB using JPA/Eclipselink. |
21. persistence.xml cache property warning stackoverflow.comI'm using eclipse indigo for EE developement to develop an SE project, just to take benefit from the JPA project support. |
22. Why entity cannot be found if I did detach after persist stackoverflow.comI have Stateless Session Bean with Container-Managed Transactions. I want to return unmanaged entity after create (persist) it in a database. That's how I do it:
|
23. How do I configure allocationSize within persistence.xml instead of Entity stackoverflow.comIs there any possibility to do a kind of "refactor" of allocationSize in order to put it inside the perssitence.xml instead of having to configure it inside each Entity ? here's what ... |
24. determine location of persistence.xml stackoverflow.comI'm trying to use jpa in a desktop application. I keep getting the error |
25. jpa: how to use different databases with relationships between them stackoverflow.comIn a single Mysql database installation I can create different databases with cross-database relationships. My goal is, for example, to use relationships between people on database A and adresses on database ... |
26. glassfish-resource.xml and persistence unit in eclipse ang glassfish v3.0 stackoverflow.comI created a Web project in eclipse and adding a glassfish-resource.xml init and configure it with my database url. also I added a persistence.xml unit in my project and add a jta-datasource ... |
27. EclipseLink JPA - location of persistence.xml stackoverflow.comI am using JPA for a java class and having trouble putting the persistence XML file where it should be. The IDE i am using is Eclipse Helios. Eclipselink jar files are ... |
28. Access JPA |
29. JPA EclipseLink orm.xml and persistence.xml coderanch.comAll, I am new to JPA and using Toplink (Oracle's distribution of the open-source EclipseLink) with JPA annotations . I am a bit confused with the purpose of the orm.xml and persistence.xml. All the JPA based java classes (representative of each underlying database table) should be cataloged in the orm.xml file or persistence.xml file. I have seen examples on the internet ... |
30. Change the location of persistence.xml in JPA (Eclipselink 2.3) coderanch.comGreetings! I'm new to JPA and am using EclipseLink 2.3 for persistence and develop with Eclipse (Helios). I do not have Maven or Spring or anything else. I would like to change the location of the persistence.xml file inside META-INF folder. I have searched extensively and am not able to locate a good answer. Let me explain why. I'm not too ... |
31. Eclipse RCP - no persistent classes found for query class forum.hibernate.orgAuthor Message wintersleep Post subject: Eclipse RCP - no persistent classes found for query class Posted: Mon Oct 17, 2011 7:14 am Newbie Joined: Mon Oct 17, 2011 6:57 am Posts: 2 Hi, first of all, please excuse my poor English. I've created an Eclipse RCP Plugin-Project with a view. The view should show articles that are stored in ... |