1. How to persist entity with two parents using hibernate and web service? stackoverflow.comI have the following entity structure (A, B, C, D are entities):
I want to persist entity A with hibernate but I ... |
2. Netbeans apply code changes for webservices and entity stackoverflow.comDevelopment being little hard because Netbeans's (7.0) "Apply Code Changes" feature doesn't work when the class is annotated with @Webservice (using JAX-WS 2.1.7). Just trying to change small piece of code ... |
3. Passing entity objects through SOAP web services forum.hibernate.orgI have a MySQL database with a few tables in it and have developed an API that uses hibernate to manage the data in the database. Everything is fine from a hibernate/database perspective. My problem lies in taking the objects that represent rows in a database and passing them back to the client via a SOAP message. I was wondering if ... |
4. Problem with @Entity and JAX-WS @Webservice forum.hibernate.orgI'm using a JAX-WS service with an entity, everytime I use te annotation @ManyToOne in this entity I get the following error: ERROR - ContextLoader.initWebApplicationContext(203) | Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'inlineImplementor': Invocation of init method failed; nested exception is java.lang.ClassCastException: com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5 Caused by: java.lang.ClassCastException: com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5 at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getBaseClass(ClassInfoImpl.java:171) at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getBaseClass(RuntimeClassInfoImpl.java:61) To prevent this from happening I use ... |