dali

The class 'javax.persistence.Convert' is required to be in the selected libraries

旧巷老猫 提交于 2020-01-25 00:48:11
问题 When selecting a user library as the JPA implementation in Eclipse Dali's project settings, the following error message is displayed: The class 'javax.persistence.Convert' is required to be in the selected libraries But the class javax.persistence.Convert is correctly included in the classpath of my user library, so how can this problem be resolved? 回答1: This error message may arise, when the persistence jar file of the selected user library is part of your Eclipse project folder (for example

Eclipse Kepler JPA errors

妖精的绣舞 提交于 2019-12-23 08:35:49
问题 I've installed Eclipse Kepler (Build id: 20130614-0229). When I try to compile my projects I have tons of JPA related errors. I'm guessing they come from the Dali Java Persistence Tools plug-in, which I can see in the plug-ins list (version 3.3.1). My questions are: 1) any idea if there is a well known issue with this version of Eclipse/Dali? I'm not only getting errors in my own code, but also in open source projects that should be correct, for example odata4j-examples: Duplicate entity name

Why does Eclipse propose “Object” as default mapping type for datatype “Text”?

梦想的初衷 提交于 2019-12-17 14:56:40
问题 When generating JPA Entities from tables with Eclipse (Juno 4.2 for Java EE Developers) it proposes Object as default mapping type for properties I set to be Text . That is quite annoying as I would have to set them all to String manually. Has someone encountered that kind of problem and knows what to do? Is this a bug? Eclipse Indigo does not behave like that. This is the /runtime/vendors/MySql_5.1/MySql_5.1.xmi from org.eclipse.datatools.enablement.mysql.dbdefinition_1.0.4.v201109022331.jar

Is it possible to use Oracle Database Synonyms in Eclipse JPA tool

北城余情 提交于 2019-12-13 00:44:09
问题 Using eclipse Dali JPA tools. When I try to create a new Entity from Database, it only tries to pull the table list. It does not list the Synonyms. In my db, all are synonyms. No tables. How do I get the list of Synonyms in this tool? 回答1: I see you saw my earlier response. So the question remains: Do you see your synonyms in the Data Source Explorer under your database's "Tables" folder? If you do not see them (which I suspect is the case), the problem is with your DTP database "driver"; if