1. Can Spring Webflow 2.0's entity manager commit from subflow states? stackoverflow.comMy team and I are currently starting up a project using Spring 2.5.6 and Spring Webflow 2.0 (JDK 1.4.2). We're in the design phase right now, and I would like ... |
2. Equinox (OSGi) and JPA/Hibernate - Finding Entities stackoverflow.comI am trying to use Hibernate/Spring in an OSGi (Equinox) environment. It works great if I explicitly point it to the Entity classes in the Persistence.xml:
What I want ... |
3. LazyInitializationException while unit-testing Hibernate entity classes for use in Spring, using TestNG stackoverflow.comIn my Spring configuration, I've asked that the session should remain open in my views:
|
4. How can I configure a JPA EntityListener via a Spring XML configuration file? stackoverflow.comI have two webapps, that are built together and respectively provide a client and admin access to a database. I'd like to register two JPA EntityListeners to a given class, one in ... |
5. Spring + Hibernate = Unknown entity stackoverflow.comI'm trying to combine Spring with Hibernate using Annotations and I'm getting the following error:
Here is my setup...
My Entity:
|
6. JPA Entity (in multiple persistence-unit) in OSGi (Spring DM) Environnement is confusing me stackoverflow.comI'm a bit confused about a strange behavior of my JPA's related objects.
I have three bundle :
The User bundle does contain some user-related objects, but mainly the |
7. Setting createdBy and updatedBy in JPA entities automatically stackoverflow.comI'm working on a JPA (Hibernate implementation of), Spring and Stripes web app. I have a number of JPA entities that have the following fields in common for both audit and ... |
8. Flex/Spring: Working with join table/entity stackoverflow.comI have a question regarding mapping and entities/domains with Flex/Spring mapping via BDS. I currently have domains mapped to tables, and I am working off existing code to try and change ... |
9. spring hibernate.createSQLQuery return as custom entity stackoverflow.comafter did Query query =hibernate.createSQLQuery("select abc,def from table"); Is it possible to auto "parse" the result to "pojo" list? so that i can do below
|
10. Spring+JPA+Hibernate: persist is updating the entity surprisingly. Please go through the details stackoverflow.comIn my code, I did as follows:
|
11. When to call Dispose in Entity Framework? stackoverflow.comIn my application I am making use of Spring.Net for IoC. The service objects are called from the ASP.Net files to perform CRUD operations using these service object. For example, I ... |
12. When uploading Arabic files in Spring, filename ends up with XML entities instead of Arabic glyphs stackoverflow.comI am using Spring upload to upload files. When uploading an Arabic file and getting the original file name in the controller, I get something like:
I expect it to be:
... |
13. Entity Aspect (in Spring) stackoverflow.comI'm having a bit of a problem defining my aspects. I've got a bunch of entities that I'd like to profile the get-methods in, so I've written the following pointcut and ... |
14. Spring, Hibernate and Ehcache - Wrong entities stackoverflow.comI've got a webapp which uses spring+hibernate for my data layer. I'm using 2nd level caching with ehcache as provider. Everything seems to work so far but sometimes we encounter a ... |
15. Loading selected Hibernate entities with JPA & Spring stackoverflow.comIs there a way to load only selected entities with Hibernate? I would like to only load a selected handful for integration testing. |
16. Websphere: JPA: java.lang.IllegalArgumentException: Object: Entity is not a known entity type stackoverflow.comI'm trying to deploy an app using Eclipselink as my JPA Layer on IBM Websphere 7.0.0.9. While trying to do any CRUD operations, i get the following exception: Caused by: java.lang.IllegalArgumentException: Object: ... |
17. question regarding mulitple entityManagerFactory in Spring 2.5.6 stackoverflow.comI am using Spring+JPA+Hibernate in my application.
The issue I am facing is that I have multiple databases in my application and I have configured them correctly(I think) in the |
18. Spring 3 Forms + ModelAttribute + Deteched Entity stackoverflow.comWhen saving an entity using Spring Forms and Hibernate I use the following controller method (simplified) to do that.
|
19. JPA Entity is not being persisted after exception stackoverflow.comI´m having the following problem:
I have 2 classes (A and B). The class A has a method (method1) annotated with |
20. Entity Framework v4 and Spring .Net stackoverflow.comI would like to know if anyone used EF4 with Spring .Net in a WCF service. How easy it is to use DI with EF4 and other pros and cons. Currently I'm ... |
21. Spring/Hibernate: Do you have to load entities to use it after saving? stackoverflow.comI have a database model with two tables: Session and ScriptExecution which are associated with a one-to-many relationship:
|
22. what's spring framework? stackoverflow.comi'm begginer for java spring framework. and how to configuration xml file. and what do to do modules. how to use those? mainly how to use spring framework? please advice me ... |
23. Multiple Entity Manager issue in Spring when using more than one datasource stackoverflow.comI have two entity managers in my |
24. Hibernate - spring annotated entities not scanned from within jar stackoverflow.comI have a package containing annotated entity classes that I import into my web project. When tomcat deploys the project the entity class that are in the jar are not scanned for ... |
25. hibernate spring: PrePersist the place for business-logic? stackoverflow.comI am using Spring + Hibernate to create and store a record in a MySQL database. Just before persisting a record I want my system to generate a random-string which will be ... |
26. Config Spring for works with hibernate and entities mapped by annotations stackoverflow.comim using hibernate and i maps my entities with annotations (so no xml files). I finally decided to try spring framework but I encountered some problems to make it work. All tutorials i ... |
27. Setting spring's entity manager to commit mode stackoverflow.comIs there a way the set the entity manager's flush mode to commit mode via configuration? |
28. Entity classes when packaged in another bundle than bundle containing persistence.xml stackoverflow.comDoes anyone have a solution for importing a entity class in bundle A into bundle B's persistence.xml. I need to seperate my Entities so that domain objects that are generic to ... |
29. not being able to persist entity in JPA in spring 3 stackoverflow.comI am not being able to persist entity in JPA, although findAll works here. Here is the JpaDAO
|
30. Spring/Hibernate Entity Management Web Interface/UI stackoverflow.comWe have a server application that exposes a certain model, and set of services built on that model, to a particular client UI through a number of protocols. This is the ... |
31. Hibernate Search: index updated with previous entity data stackoverflow.comI am trying to do a basic setup of Hibernate Search 3.3 working alonside Spring 3.0, JPA 2.0 and Hibernate 3.6, all of this running on Tomcat 6.0. I have declared a ... |
32. org.hibernate.MappingException: Unknown entity: stackoverflow.comI tried to see all the questions on this topic but none of them helped me. And I really want to understand what is going on with my code. I have a ... |
33. spring jpa hibernate unknown entity exception stackoverflow.comI have a rather weird thing happening. If I clean my target folder and run my tests they work fine. if I run it again without cleaning i get the following error java.lang.IllegalArgumentException: ... |
34. Spring DB2 JPA Entity Manager Problem stackoverflow.comI'm trying to configure Spring, JPA and DB2 in order to have the entity manager instance to be used in my spring controllers but according how I have configured Spring this ... |
35. How to stop JPA entity manager from flushing before every select stackoverflow.comI am using JPA (with hibernate as the provider) in spring for a web-app. I have a few methods that construct a complex object to be passed to the UI. As part ... |
36. Creating metatable for Hibernate domain objects stackoverflow.comIn my Hibernate + Spring application, I have several annotation based domain objects. I would like to go through all of them and create metatable with definitions for all of them. ... |
37. Scheduling a persistent entity stackoverflow.comLet's say I have some DB entity with a CronExpression field:
What is the best approach to ... |
38. Shared PK in entity mismatch stackoverflow.comI'm developing an example web-application, using JPA 2.0 entities, Hibernate 3.6.2 and Spring 3. The example contains two tables in a one-to-one relationship, the parent entity is Client and the child ... |
39. Can I define a default order for an @Entity? stackoverflow.comFor example,
I want HibernateTemplate.loadAll(Foo.class) to ... |
40. InstantiationException in persistent entity stackoverflow.comI have a problem when I get an object from hibernate. The stacktrace is:
|
41. Persistence doesn't create table from entity in database stackoverflow.comI build a web application using hibernate JPA 2 + spring. I have problem with creation of domain model. In persistence I declared the automatic creation of database tables from entity. ... |
42. Spring/Hibernate/Flex = Unknown Entity stackoverflow.comI am having a bit of trouble with spring+hibernate throwing the error |
43. Spring - hibernate: detached entity passed to persist stackoverflow.comI have the following Object:
As you see this table represents a tree structure. Having the functions:
|
44. How to externalize Hibernate Entities? stackoverflow.comI'm working on a Java/Spring/Hibernate based web app, developed in Eclipse. This web app is actually two different projects that duplicate a couple Hibernate entity classes, as well as their ... |
45. Spring-data cross store entity management stackoverflow.comI want to use Postgres, MongoDB and Neo4j together in my application. I was able to configure them all, however now each of my POJOs is backed my graphNode as well ... |
46. Modelling Database Entities using Spring Rowmapper Object stackoverflow.comI'm in the process of creating a front end for a Database Driven application and Could do with some advice. I have the following basic entities in my database:
|
47. Ignore transient pattern on save hibernate entity stackoverflow.comHow to save hibernate entity and ignore (not correct)transient pattern. for example:
|
48. Spring get all @Entity classes stackoverflow.comIs there a way to get all @Entity classes in Spring? I can't seem to find any solution. Thanks. answer:
will do this easily ;)
|
49. Hibernate 4 (Jboss as 7) can't auto detect entity and insert into PersistenceUnit, cause `unknow entity` exception stackoverflow.comI meet a similar problem with this How to auto-register entities with JPA/Hibernate: Unknown entity . I am using jboss as 7, hibernate 4( which come along with jboss as ... |
50. Is there a way to load an entity into an instance of derived class? stackoverflow.comI have an entity and specialized class which is derived from the entity. Is there any way (something tricky in JPA or spring) to let JPA create instances of the derived class ... |
51. Loading of a Dynamically created Entity by automatic dyscovery stackoverflow.comI have to work with a strange DB structure, where on production there could be more tables but with same columns. And we want to use JPA (Hibernate) with handle them, ... |
52. Hibernate and Spring with Hibernate Annotations = "Unknown Entity..." stackoverflow.comI have a Project with Spring and Hibernate and I want to use Hibernate Annotations (@Entitity, @MappedSuperClass) in my classes. I have the following hibernate-config.xml:
|
53. Casting entities JPA 2, Spring 3 stackoverflow.comHi all im having trouble extending entities and persisting them to the data base, my model is has folows,
People - Base entities, which has to be persisted |
54. Spring Hibernate - Saving multiple entities associated with each other stackoverflow.comI'm trying save 3 entities, address, name and employee, with employee containing an address and a name. I already made the DAO's for each entity, but for some reason, this exception ... |
55. Spring - should entity class consist method besides getX and setX? stackoverflow.comI have some experience with Django and its MVC (MTV rather...) concept. In my previous project in django, I always tried pack a lot of functions (methods) to |
56. org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity stackoverflow.comThis is a spring mvc application using IntelliJ. I'm getting this error:
|
57. org.hibernate.MappingException: Unknown entity - though my entity has all it needs stackoverflow.comI'm trying to add some Hibernate functionality to a Spring web application. This is my first time when I use the Hibernate Session Factory to be somehow independent from Spring (I ... |
58. Persisting additional Entities in @PostPersist in Hibernate stackoverflow.comI am attempting to persist additional entities in a |
59. Multiple Hibernate Entity Interceptors? forum.springsource.orgMultiple Hibernate Entity Interceptors? Hello. I'm trying to set up two different Entity Interceptors for hibernate using the LocalSessionFactoryBean. It seems that the LocalSessionFactoryBean only allows for one interceptor. Can I ... |
60. Jackson JSON dependent entity serialization forum.springsource.org |
61. Spring + JPA Entity with multiple databases forum.springsource.orgSpring + JPA Entity with multiple databases Hi Spring users: I have a Spring + JPA application which connects to 2 different databases. For this I have used 2 EntityManagerFactory, 2 ... |
62. Spring DB2 JPA WebSphere Entity Manager Problem forum.springsource.orgSpring DB2 JPA WebSphere Entity Manager Problem Hi, I'm trying to configure Spring, JPA and DB2 in order to have the entity manager instance to be used in my spring controllers ... |
63. Hide an entity field to the client forum.springsource.orgHi everybody. I'm very new to Roo, so I have no idea how to approach this: Let's suppose that I have an entity like this. Code: @RooJavaBean @RooToString @RooEntity public class ... |
64. Entity mapping from multiple databases forum.springsource.orgEntity mapping from multiple databases Hi I'm working with multiple databases, I have an Entity "A" (in the first database) that has as a property another Entity "B" from a 2 ... |
65. Command entity --class '~.domain.Foo' was found but is not currently available forum.springsource.orgCommand entity --class '~.domain.Foo' was found but is not currently available When I open the roo shell for an existing project and try to create a new entity I get the ... |
66. controller scaffold problem when entities have same name forum.springsource.orgcontroller scaffold problem when entities have same name Roo 1.1.1 with script: Code: project --topLevelPackage com.schematest persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY entity --class ~.domain.a.Plan --table Plan --schema a --serializable --testAutomatically ... |
67. JPA never inserting Entities or Commiting DB Changes- Glassfish3, JPA2, Eclipselink forum.springsource.orgJPA never inserting Entities or Commiting DB Changes- Glassfish3, JPA2, Eclipselink Apologies if this has been covered, I've been searching on this issue for a few days. The behavior I'm getting ... |
68. MappingException: Unknown entity: forum.springsource.orgMappingException: Unknown entity: When the session factory is instantiated is can find the class domain.StockQuote because otherwise I get a NoClassDefFoundException when stating Tomcat. However when I runn the pplication I ... |
69. Unknown entity why? forum.springsource.orgFeb 3rd, 2011, 12:46 AM #1 arcanjozer0 View Profile View Forum Posts Private Message Junior Member Join Date Sep 2009 Posts 5 Unknown entity why? I've been trying for days to ... |
70. One entity not persisted forum.springsource.orgFeb 4th, 2011, 07:04 AM #1 CreatixEA View Profile View Forum Posts Private Message Junior Member Join Date Jan 2010 Posts 6 One entity not persisted Hi, I'm working for Spring ... |
71. Best way to display a entity related image stored on disk forum.springsource.orgBest way to display a entity related image stored on disk Hi, I added an image to one of my entity using a CommonsMultipartFile field. The entity only stores the image's ... |
72. Cannot find entity with Chinese characters forum.springsource.orgCannot find entity with Chinese characters Hi all: I meet a problem when go through samples provided by ROO reference. It's the pizza shop sample. 1. I use finder to create ... |
73. Unable to persist an entity with @NotNull @Digits field, could be a bug forum.springsource.orgI'm getting integration test failure while persisting an entity with a @NotNull @Digits field. Here's the script to reproduce the problem: Code: // Spring Roo 1.1.1.RELEASE [rev 156ccd6] log opened at ... |
74. Order of entities in ApplicationEntityTypesProcessor forum.springsource.orgOrder of entities in ApplicationEntityTypesProcessor Is there any way to control the order of the entities that appear in GWT's left hand menu (proxy places list)? Tracing through code, I found ... |
75. Order of entities in ApplicationEntityTypesProcessor forum.springsource.orgOrder of entities in ApplicationEntityTypesProcessor Is there any way to control the order of the entities that appear in GWT's left hand menu (proxy places list)? Tracing through code, I found ... |
76. MappingException Unknown entity forum.springsource.orgMappingException Unknown entity Hello, I am using Spring 3.03. I have my persistent object distributed across two jar files. Each one has its own context file (applicationContext and idmService-Context) and they ... |
77. spring persistentobjectexception detached entity passed to persist forum.springsource.orgHi this is manoj getting those errors pls help me .I am getting those errors due to save methods. org.springframework.dao.InvalidDataAccessApiUsageE xception: detached entity passed to persist Thanks in Advance, |
78. detached entity passed to persist error forum.springsource.orghello sir I am getting the below problem can anybody please explain for which reason i got this error.. ------------------------------------------------------------- detached entity passed to persist:nested exception is org.hibernate.PersistentObjectException: detached entity passed ... |
79. create an entity forum.springsource.orgI am having trouble getting to go to a specific url after creating an entity. why does Roo try to convert all parameters of entity creation into encodable url values. can ... |
80. managing menu content with entities forum.springsource.orgmanaging menu content with entities I'm creating a user-manageable menu system for my web application and I was wondering if anyone else had done such designs with Roo? At the moment ... |
81. Form or DTO or Transient in Entity forum.springsource.orgForm or DTO or Transient in Entity Hi all, Am having problem of the display or saving value in the Entity from the controller. Am using Spring 3 MVC and JPA ... |
82. Repeated column in mapping for entity: xxx.xxx.JsyDepartment column: id forum.springsource.orgMar 30th, 2011, 12:28 AM #1 xstraber View Profile View Forum Posts Private Message Junior Member Join Date Oct 2007 Location Jakarta Posts 4 Repeated column in mapping for entity: xxx.xxx.JsyDepartment ... |
83. Problem with entity in separate JAR on testing forum.springsource.orgApr 4th, 2011, 11:32 PM #1 aliirawan View Profile View Forum Posts Private Message Junior Member Join Date Nov 2010 Posts 2 Problem with entity in separate JAR on testing I'm ... |
84. Mapping @PathVariable to an entity forum.springsource.orgMapping @PathVariable to an entity Hi, given a method like @RequestMapping("/someUri/{carid}") public String getCarName(@PatVariable String carid) { Car car = Car.lookupCar(carid); return car.getName(); } is it possible to map the the ... |
85. How to generate the creation form of an entity depending on the order of the fields forum.springsource.orgHow to generate the creation form of an entity depending on the order of the fields Hello, I do not quite understand how the forms for the creation of an entity ... |
86. finder for all entity attributs forum.springsource.orgHere is the solution use the command to generate finder with multiple attributs : finder list --depth numberOfAttributs --filter att01,att02... then use : finder add --finderName aFinderNameFromTheGeneratedList The output list can ... |
87. How to Verify Related Entity Exists? forum.springsource.orgHow to Verify Related Entity Exists? I have a Company entity which has a ManyToOne relationship with an SIC entity: Code: public class Company { ... @ManyToOne @JoinColumn(name = "SIC") private ... |
88. Can't create Entity 'Author' forum.springsource.orgCan't create Entity 'Author' came across a weird one. It appears that the automatic tests created for an entity won't work if the entity is called 'Author'. Honestly, it worked after ... |
89. Wiring up spring and hibernate with annotations: entity not loading forum.springsource.orgWiring up spring and hibernate with annotations: entity not loading Hi, I'm trying to wire up spring and hibernate using Spring 3.0.1 and Hibernate 3.6.3. (This is my first time using ... |
90. JPA not storing entity in database forum.springsource.orgJPA not storing entity in database Hi, I've defined persist method in GenericDAO as follows: Code: @Transactional(readOnly = false) public void persist(T entity) { entityManager.persist(entity); } However, when I try to ... |
91. Configuring an @Repository for 2 separate instances with 2 separate Entity Managers?? forum.springsource.org[Container/JPA related question] Hi, Is there an easy way to wire a repository (annotated with @Repository) to allow 2 separate instances with 2 separate Entity Managers (for use with 2 separate ... |
92. JpaRepository.save() -> detached entity passed to persist...? forum.springsource.orgJpaRepository.save() -> detached entity passed to persist...? i'm working with a ManyToOne relationship, for example there are many LineItem entities to one Order entity. i have cascade={CascadeType.PERSIST} on LineItem. i have ... |
93. No identifier specified for entity forum.springsource.orgI got an error saying Code: org.hibernate.AnnotationException: No identifier specified for entity: MyEntity. when I deploy my roo generated war file to Tomcat 6.0. My project is using Spring 3.0 + ... |
94. Read-only entities forum.springsource.orgHi, with Roo 1.1.2, I could do something like this Code: @RooEntity(removeMethod = "", mergeMethod = "", persistMethod = "", flushMethod = "") This would make sure that my entity was ... |
95. Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer forum.springsource.orgJun 1st, 2011, 06:15 AM #1 vipinsingh View Profile View Forum Posts Private Message Junior Member Join Date Jun 2011 Posts 3 Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer Hi ,I am ... |
96. java.util.currency as an entity field forum.springsource.org |
97. How to develop database entities with i18n support forum.springsource.orgHi! I'm totaly new to spring and roo and have to evaluate, if we use roo for new projects in our company for the future. I18n support for templates is the ... |
98. What is the best way to sort entities? forum.springsource.orgWhat is the best way to sort entities? My roo app is mostly used for JSON responses to a thick client request, so the UI for me is really just a ... |
99. can't determine annotations of missing type javax.persistence.Entity when weaving... forum.springsource.orgJun 15th, 2011, 08:36 AM #1 alistairparler View Profile View Forum Posts Private Message Junior Member Join Date Jun 2011 Posts 3 can't determine annotations of missing type javax.persistence.Entity when weaving... ... |
100. Entity with different views forum.springsource.orgEntity with different views hello i wanted to have two different views for one entity , That is what i have tried is to have two controllers for one entity one ... |