1. Hibernate and stateless session beans coderanch.com |
2. any tutorial for using hibernate in Weblogic Stateless Session Bean coderanch.com |
3. difference between hibernate and entity beans? coderanch.comWith EJB 2.x entity beans, you are forced to implement certain interfaces and the EJB framework is quite pervasive upon your objects. You can't have "clean" objects and this somewhat limits your design choices when designing your objects. Also, because of this, its quite hard to test your objets outside of their container. With Hibernate you do not have this problem ... |
4. Hibernate vs EJB(entity Bean) coderanch.com |
5. Hibernate and session bean coderanch.comNewbie for Hibernate. It seems Hibernate can replace entity bean. How about session beans ? How can they be replaced ? The reason why I am asking this is --- EJB needs application support but Hibernate doesn't. This means I can get rid out application server part. But how can I get rid of the session beans ? Do you think ... |
6. Hibernate mapping:Bean class & MySQL DB View coderanch.comHow can i do Hibernate mapping in hibernate mapping file (*.hbm.xml) for Bean class & MySQL DB View ? ------------------------------ Dear shan, For any Database u have to write one config file(like hibernate.cfg.xml) in that config file u have to write all database properties (that u want to use) and finally u have to map that hibernate mapping file. In that ... |
7. Hibernate Entity Beans in HTTP Session coderanch.comSo I would like to store an entity bean, User in session. However, the lazily loaded properties will not be automatically loaded and I am getting LazyInitializationException when pulling the user back from the session on subsequent requests. What is the best method of dealing with this? I guess it would be ok to call a method (if there is one) ... |
8. In Hibernate how to clear the data in the bean class of a table coderanch.comHi, I have column 'status' in a table called 'show_main', in our application when delete function is performed the status is updated to '0' and when tried to view or delete the same record it has to check if the status is 1 only it should show the record. In my case a record which is deleted in that session is ... |
9. Mapping in Hibernate for nested Bean Structure coderanch.comHi All, I have a bean, which in-turn have one more bean in it. I am showing my mapping for parent bean in Hibernate. But I am not sure how to create a mapping for nested bean element. package events; import java.util.HashSet; import java.util.Set; public class Person { private Long id; private int age; private String firstname; private String lastname; private ... |
10. Entity Bean to JPA migration.... handling Entity bean home interface responsibility? coderanch.comHi, It is a debate between I and a colleague of mine. I have got an EJB 2.1 application, in which I'm suppose to migrate the Entity Beans to JPA entities. This application also has Course grained Session facades to access the Entity beans. I thought it would be a better idea to have plain java classes which talks to JPA ... |
11. is hibernate a good replacement for entity beans coderanch.comHello , i have knowledge of entity beans as well as i worked on hibernate.I want to know that whether hibernate will replace entity beans in all? If some one can tell me scenarios where entity beans to be used and where hibernate should be used.Replies will be highly appreciated.Thanks in advance. |
12. Calling Hibernate from Stateless Session Bean coderanch.com |
13. EJB3 Entity Beans or Hibernate 3.2 coderanch.comHi I am new to Persistence. I want to use ORM in my project and i want to use JPA. As i am new, i am bit confused whether to use EJB3 entity beans or hibernate. I know both follow JPA. Can i use ejb3 entity beans following jpa without any need of hibernate or i need to use hibernate too. ... |
14. How to integrate hibernate and EJB (stateless session bean) coderanch.com |
15. Replacing CMP Beans with Hibernate coderanch.com |
16. How to tell Hibernate Validator to validate annotated beans coderanch.com |
17. Serialized Bean with Hibernate coderanch.comNeed advice on the best way to implement the following using Hibernate: Kitten String id String catId Cat String id Set |
18. A Query about EJB Entity Bean and JPA coderanch.com |
19. How to pass Data User submitted Data from a servlet to EJB Session Bean when using JPA : coderanch.com@Entity public class Employee { @Id private int id; private String name; public Employee() {} public Employee(int id) { this.id = id; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } } |
20. difference between hibernate and entity bean coderanch.com |
21. Hibernate: @NaturalId and many-to-many entity bean coderanch.com |
22. Bean Validation with Hibernate 3.6 in GlassFish 3.0.1 coderanch.com |
23. using Hibernate with Session Bean coderanch.com[color=darkblue]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package entity; import java.io.Serializable; import java.util.Collection; import java.util.Date; import javax.persistence.Basic; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery; import javax.persistence.OneToMany; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; /** * * @author Prateek */ @Entity @Table(name ... |
24. How To USe JPA with Entity Bean in Ejb3.0 coderanch.comHi I am trying to deploye my Ejb in glassfish its giving error like SEVERE: Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method SEVERE: Exception while preparing the app SEVERE: Invalid resource : java:/ZIADS__pm java.lang.RuntimeException: Invalid resource : java:/ZIADS__pm at com.sun.enterprise.connectors.ConnectorRuntime.lookupDataSourceInDAS(ConnectorRuntime.java:539) at com.sun.enterprise.connectors.ConnectorRuntime.lookupPMResource(ConnectorRuntime.java:468) at org.glassfish.persistence.common.PersistenceHelper.lookupPMResource(PersistenceHelper.java:63) at org.glassfish.persistence.jpa.ProviderContainerContractInfoBase.lookupDataSource(ProviderContainerContractInfoBase.java:71) at org.glassfish.persistence.jpa.PersistenceUnitInfoImpl. |
25. Hibernate, transform ScrollableResults to Beans? coderanch.com |
26. Problem retrieving data to JSP from Bean [using Hibernate] java-forums.orgHi there, Any responses or ideas will be very helpful. I can create the Java object and the corresponding database table using Hibernate JPA [without Spring]. I cant seem to get, how to display the data from the bean every time the bean is refreshed into the JSP page. Say, someone updates the bean from another machine on the local network.The ... |
27. GFv3 + EclipseLink >=2.1.1: Remote EJB client cannot transfer JPA entities through remote session bean java.netHi, I am having big troubles, I hope you can help me. I am using Glassfish v3.0.1, I needed to upgrade it to EclipseLink 2.1.1 because of a know bug (solved in 2.1.1) of EclipseLink 2.0.0 but this bring me a much bigger problem. I use Glassfish as a EJB server, a lot EJBs session beans are facades for the persistence ... |
28. JPQL: outer join on entity beans without association java.netI do not have a good solution for the entity classes without relationship. You could run two separate queries. One query returning the employees being involved in a project: SELECT e.name, p FROM Employee e, Project p WHERE e.projectID = p.projectID And another query returning the employees without project: SELECT e.name FROM Employee e WHERE e.projectID IS NULL |
29. JPA entites as DTOs through remote session bean (RMI-IOP)?? java.netAlmost every OneToMany relations are Lazy so the aren't serialized. I do serialize for example the items of a Purchase Order entity but he performance is very slow, a simple Purchase Order with its items entities weights more than 1mb in the connection. Imagine this when the client is through the Internet. |
30. 1 table, 2 beans forum.hibernate.orgHi, I have an Author and a User bean that are identical in fields, that share a subclass. I want to map them to the same table. My ideal approach is that in each mapping file for the respective bean, I can enforce a particular discriminator value for a character property. Is this possible? Otherwise, in the constructor for each bean, ... |
31. Converting results of Hibernate Query to bean type forum.hibernate.orgHi All, I have an HQL Query shown below that I execute with createQuery: Code: sb.append("select D.defectId, D.description, P.description as Priority, D.reportDateTime as ReportDate, S.userName as Reporter, FA.areaName as FunctionalArea, ST.description as Status, D.severity as Severity From Defect as D "); sb.append("JOIN D.stf1 as S "); ... |
32. LazyInitializationException Session Bean EJB 3.0 forum.hibernate.orgHi guys! I'm trying to develop a very basic Stateless Session Bean, using JPA (Hibernate) and trying to run in JBoss 5.1.0 GA. Here's the thing. I have these entity beans User.java and UserCase.java. I'm need a one-to-many unidirectional relationship, so here's the code: Code: @Entity @Table(name = "user") public class User implements Serializable { private int userId; ... |
33. how to dynamically creation of beans and mapping forum.hibernate.orgMy question is very much clear...... few years back i made a dynamic CRM with JDBC...... but now i m totally siffted to Hibernate. now i am trying to customize the same thing with hibernate instead of JDBC. so i have 2 prime requirements..... how i am going to generate the beans and its mapping dynamically. {now why i want to ... |
34. how do i use @version in entity beans? forum.hibernate.orghi to all, i am new to this , i am developing an application using jboss seam framework. i need to develop optimistic lock in my application to restrict end user from concurrency updations of entity objects. while i am googling i got information that @version annotation is useful for this . but i don't know how do i use this ... |
35. multiple instances of same bean forum.hibernate.orgHello, Suppose i have 2 classes Person and Car and the person has a list of children and the car has list of owners one of those persons children can be the same as an owner of a car if I do this in Hibernate I indeed get the same child/owner from the DB, but they are different instances in java. ... |
36. Custom Bean Annotation Problems forum.hibernate.orgThis class level bean validation call is not being called. Code: @Constraint(validatedBy = FieldPairRequiredValidator.class) @Target( {ElementType.TYPE, ElementType.CONSTRUCTOR} ) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface FieldPairRequired { public abstract String message() default "When one field is specified, the second must be specified as well."; public abstract Class>[] groups() default {}; ... |
37. How to select some of columns from mapping bean forum.hibernate.orgHi, I have one table with 20 columns and will be accessed by multiple apps. However each app will accesses different columns from this table. I knew it's can be done with createSQLQuery for each app. If I create a bean mapping all columns at this table, can I just select some of columns from bean? Thanks very much! |
38. How to retrieve not a domain bean but some of its properties forum.hibernate.orgHi stephaneeybert, in fact this is not well documented (or I haven't found the right spot yet). Judging from the behavior of SQL Scalar Queries described here: http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/querysql.html#d0e17378 I'd guess that the items in the result list are of type Object[]. Provided I am not wrong, I'd write your method as follows: Code: public List |
39. handle collections in non entity managed beans in nativeaql forum.hibernate.orgsess.createSQLQuery("SELECT p.name as personName, c.name as catName, k.name as kittenName FROM people p, cats c, kittens k where p.id = c.id and c.id = k.id and p.name like '%Tom%") .setResultTransformer(Transformers.aliasToBean(PersonDTO.class)).list(); public class PersonDTO { private String personName; private List |
40. How to use Hibernite without java beans and recompilation forum.hibernate.orgNewbie Joined: Tue Feb 01, 2011 4:07 am Posts: 1 I have a rare use cases and I'd like to ask some advice from anyone who has deep inside view of Hibernate architecture. If I simplify our goal then I can say our goal is to design a system that does not require further development and code compilation to execute simple ... |
41. Two dependent beans on separate servers and databases forum.hibernate.orgHello, I have following situation: Users table is on one mysql server in Users database, and user profiles table is on another mysql server in UserProfiles database so i have two tables in two different databases on two different servers (machines). Mapping file for users table is users.xml and for user profiles table is userProfiles.xml. In userProfiles.xml i have many to ... |
42. Stafeful Session Bean forum.hibernate.orgHello, I want to write a simple stateful session bean, but I'm surprised, that it doesn't work. I'm totally confused, as some examples in the internet base on annotations and others not... I've got the following RemoteInterface: Code: @Remote public interface ShopUserSessionRemote extends Serializable { public ShopUser getUser(); public void setUser(ShopUser shopUser); } Here my ... |
43. How to manage session beans forum.hibernate.orgHi, I'm pretty lost, but I can't find any example, which tells me, how I should create my session bean, where I can store it and how to load it again. Can anyone show me an example or tell me how it works. Do I need to lookup or by an EnitityManager (but it accepts only Entities?) or how else... Thank ... |
44. PersistentSet requirement on one to many bean member forum.hibernate.orgWhen using one to many relationship the "bean/model object" requires org.hibernate.collection.PersistentSet class. The problem is the class is not available at the client side. I do not want to include a hibernate library on the client side as it does not make sense. I tried using Dozer ( mapping the object, essentially ripping out the persistentSet ) and it works but ... |
45. Have I to create to bean (profile) forum.hibernate.org |
46. Issue bean setter with column width is 1 char on DB2/400 forum.hibernate.orgSQLQuery query = sessionFactory.getCurrentSession().createSQLQuery( Select isactive from NAME); query.setResultTransformer(Transformers.aliasToBean(Name.class)); List |
47. Hibernate Reflection -- Bean Properties forum.hibernate.orgFrom all indications within the hibernate documentation it appears that it supports bean property type mappings, but when I attempt to use a nested composite identifier I can't figure out how to accomplish this. Here is an example of a mapping that I would like to be able to create. Code: |
48. Using java.lang.reflect.Proxy instances instead of beans forum.hibernate.orgTo clarify, is it possible to use dynamic proxies instead of beans or the code generated proxies? From what I can tell by looking at the code this can't be done presently. It is a pretty small change to make it possible tho. I made some changes and tested at my site without any trouble. I want to make sure there ... |
49. Session bean to Hibernate Tactio -> StaleObjectStateError forum.hibernate.orgI thouth I had this down but now I am seeing this error again so wanted to clearify that I understand this correctly. So any clarificaitons are appreciated. This is what we are doing. I have an object lets say its called House. This object has a many to one relationship another object called Father :). This relationship is bi-directional. The ... |
50. Building session factory in a stateless session bean -- how forum.hibernate.orgCurrently, I have : sessionFactory = new Configuration().configure().buildSessionFactory(); with the hibernate.cfg.xml. I need to move this into a stateless session bean. the manual says: From setSessionContext() 1. Call Hibernate.configure() 2. Obtain a JNDI InitialContext 3. look up the SessionFactory in the JNDI context and save it to an instance variable -------------------------------------------------- I don't quite understand how to do step 2 and ... |
51. collections of strings and not of beans forum.hibernate.orgHey, Can anyone help me. I have looked at the Hibernate Mapping DTD and can not figure out how to create a mapping of strings when it comes to two tables that are connected via another table. I know how to create a collection of strings when only two tables refer to each other: |
63. entity beans vs or mapping tools advice forum.hibernate.orgIt's mostly a question of application design, i.e. if you want to use coarse-grained components instead of a fine-grained (interconnected) network of objects that implements both the state of entities and the related business logic (known as "domain model" using POJOs/JavaBeans). Please note that "entity beans" is in fact just a name for another object/relational mapping technique, modern CMP engines are ... |
64. WSAD5.0, EJB Session bean and Hibernate forum.hibernate.orgNewbie Joined: Tue Feb 03, 2004 11:58 am Posts: 11 Hi, I have a problem implementing EJB session bean with Hibernate. My web app is implemented in Struts 1.1. The LoginAction is invoked and it succesfully looks up the HibernateTestHome, creates a remote interface and calls doService() method that prints out success message indicating that the session bean was succesfully looked ... |
65. Saving a subclass that only adds extra functionality to bean forum.hibernate.orgI created a subclass of a Bean to add extra functionality to it without affecting the original bean, but it would seem from the errors that you would need to put the subclass param in the docs and make another mapping doc for the subclass? Is this correct? and if so, would you just put no properties in the subclass, just ... |
66. Foreign Keys and Beans forum.hibernate.org |
67. setId() in bean and saveOrUpdate forum.hibernate.orgI've such strange (may be not) situation: when my bean has public method setId() and i use saveOrUpdate on newly instantiated bean I get UPDATE expression (that's wrong of course). But when i remove this method or change it's signature to protected all is OK (I get SELECT expression). What's wrong? Sorry for my English... |
68. Entity Beans vs Hibernate and Distributed query/updates forum.hibernate.orgHi, I am working on a large (enterprise scale) project. I recently downloaded Hibernate 2.1 and read its documentation and examples. I still have couple of questions unanswered: 1> Entity Beans vs Hibernate: - What does Hibernate have that Entity Beans can NOT offer? - What do Entity Beans have that Hibernate can NOT offer? I am particularly interested in ability ... |
69. Entity Beans vs Hibernate and Distributed query/updates forum.hibernate.org |
70. beans to multiple databases forum.hibernate.orgHello all, I have a bean (User) with a bean (login) as a property of it. I need to be able to persist User to database A - table 1, and login to database b - table 1. I am using hibernate 2.1 and the database's are on an AS400. Is this possable and if so how?? Please ask for additional ... |
71. Session Factory Configuration and Session Bean forum.hibernate.orgSuprisingly, its hard to do in most appservers because of hierarchical class loaders. Typically, each ejb will have its own classloader. Thus, this rules out things like singletons. I use weblogic 6x, so not sure if this solutions will work on other appservers. I actually use this approach to initialize all kinds of things I only want initialized once for the ... |
72. CMT Session Bean forum.hibernate.orgI have a Container-Managed Transaction Session Bean, and I was hoping I wouldn't have to do beginTransaction, etc. but let the container handle that. My insert isn't working (it behaves as if I was using JSP not calling beginTransaction) but there are no exceptions. Is it possible to do this? If not, that's fine, but one of my coworkers said this ... |
73. caching strategy - "just as Entity bean"? forum.hibernate.orgPage 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message zeehond Post subject: caching strategy - "just as Entity bean"? Posted: Tue Apr 20, 2004 9:19 am Newbie Joined: Tue Oct 07, 2003 3:58 pm Posts: 16 Location: Netherlands Hello all, I'm trying to figure out ... |
74. Use of non Java-Bean standard names for persistent Fields forum.hibernate.org |
75. How to update *only* one property without passing a bean forum.hibernate.orgHello, Is there is a simple way to update only one property of abean, but without actually passing entire bean into Session.update? The problem I have is quite simple. I send a SMS Message into SMSC and store it into billing table. After that I have to update status (delivered or not) of this message, which depends on SMSC response. Since ... |
76. autoClose and CMT beans forum.hibernate.orgHello, I'm having trouble with Hibernate trying to close connections after they've already been wiped up by my appserver. I've looked at the source and I see that autoClose appears to be set TRUE for sessions. In SessionImpl, then, we see in the disconnect() method a call to batcher.closeConnection(c) contingent upon autoClose being TRUE. I don't want autoClose to be turned ... |
77. Same bean in two many-to-one relations forum.hibernate.orgHi, I have the same problem. An example explanation: A class CAT has a many-to-one relationship to another class BREED. If two cat objects are the same breed, then Hibernate seems to return the same "breed" bean instance for the two cat objects, so that if you try to just change the breed value of one the cats, then the other ... |
78. Web application - Where are the beans ? forum.hibernate.orgHi all, I am a new hibernate user and I am currently building a web application with Hibernate 2.1.2, Spring and Tapestry. I am wondering how (and where) I should retain business objects (beans) between each http request/response. I read carefully hibernate docs and looked for answers to this in this forum but did not find any. Basically, my application is ... |
79. Session Bean Hi/Lo Generator cannot configure TableHiLoGener forum.hibernate.orgI'm using Hibernate 2.1.1 with a J2EE application using a PointBase database. Because the application work is done within a CMT, I'm trying to implement a Session Bean Hi/Lo Generator. I have the EJB coded based on other posts I've seen in this forum, but am getting an exception when trying to configure the TableHiLoGenerator instance. The code that is having ... |
80. Read Only Entity Beans and Hibernate forum.hibernate.orgHibernate Version : 2.1.4 App Server : Jboss 3.2.4 Database : MS SQL Server 2000 I am changing the persistence mechanism in my current application from Entity beans to Hibernate. We use a read only BMP entity bean which returns a set of fairly static data for a given key. The read only entity bean refreshes every 5 minutes. Can I ... |
81. Performance impact with very large bean mappings? forum.hibernate.orgHello, I am mapping a POJO to a table with an extreme amount of columns (1000). Thus, this bean has 1000 accessor methods (get/set). I can avoid sending large update statements by loading the object from cache and apply changes within the same transaction. I have noticed that Hibernate only updates the changed properties on the bean, which results in highly ... |
82. Exception deploying my stateless session bean using hibernat forum.hibernate.orgHi, I am using JBoss 3.2.5...when I deploy my stateless session bean, I get the following exception: 09:35:56,070 INFO [ServiceConfigurator] Problem configuring service jboss.jca:service=LocalTxCM,name=Hibernate Resource Adapter org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=ManagedConnectionFactoryName value=jboss.jca:service=LocalTxDS,name=Hibernate Resource Adapter on mbean jboss.jca:service=LocalTxCM,name=Hibernate Resource Adapter; - nested throwable: (javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName) at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:490) at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:375) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:160) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114) at org.jboss.system.ServiceController.install(ServiceController.java:198) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at ... |
83. query using bean field name instead of column name forum.hibernate.orgi'm trying the same at the moment, because i don't want to use the real-db-column-names in my application. First i thought this will work automatically ... but it seems not (or, perhaps i'm a little bit stupid ... can be ;) ) ... To implement an own NamingStrategy won't work i think ... in the next step i will take a ... |
84. Different beans, same table: ClassCastException forum.hibernate.orgHibernate version: 2.1 I've two beans, FullCompany and ShortCompany. The last one is used only to retrieve a small set of "Company" properties, just to show a list and to avoid big data tranfer (FullCompany is a very big bean). I cannot change, by now, this situation refactoring the beans (or even the db). Both beans are mapped on the same ... |
85. Persisting non-Java Beans objects forum.hibernate.orgHello, Our application uses generic TransferObjects that we want to persist into a database using Hibernate, but that are not Java Beans. For example you would not retrieve a "name" property from a "user" TransferObject through userTO.getName() but through userTO.getStringValue("name"). Before we write specific subclasses for our TransferObjects, we would like to know if there is a way to have Hibernate ... |
86. Accessing Hibernate bean properties from a crossselect query forum.hibernate.orgHello On Hibernate 2.1.6, without any association (no foreign keys) between classes myFoo & myBar hbm.xml files, using a request like : getHibernateTemplate().find("from myFoo foo, myBar bar WHERE bar.userId = foo.userId); Is it possible to retrieve a Hibernate bean properties when these properties come from this cross-select query, possibly using a JXTemplate mechanism or 'pure' Java ? For example, if the ... |
87. EJB - session bean forum.hibernate.orgHibernate version: I'm using version 2 Hi, I'm writing a J2EE application and I'm using sun's application server. My sessionbean to connect to the database is listed below (correct me if this code is totally wrong). Does anybody has a simple example that uses sessionbeans to connect to a database AND using the application server of sun. Code: /* * Created ... |
88. How to create dynamic persistent bean object and XML forum.hibernate.orgIs there some way of creating dynamic objects (basically the hibernate persistent beans) and XMLs, the reason for that is there might be new tables added into the database on runtime for which we might not be having any persistent beans or XML already in place . Any pointers/guidance on that will be highly appreciated. Vipul. |
89. Why is bean property null? forum.hibernate.orgPage 1 of 1 [ 1 post ] Previous topic | Next topic Author Message hibernate1 Post subject: Why is bean property null? Posted: Mon Jan 10, 2005 3:05 pm Newbie Joined: Mon Nov 15, 2004 1:42 pm Posts: 11 Hibernate version: 2.1.6 Explanation of problem: When the user visits the ... |
90. Cascade-saving won't ignore already persistent beans forum.hibernate.orgHello, I am using Hibernate 2.1.6 and MySQL 4.0.20 to persists beans, and i have trouble getting something done with saveOrUpdate(Object) and cascading. I have two classes and tables, Institution and Link, such as an Institution can be referenced by multiple Links. My Institution bean and mappings file have no reference to the Link bean/table. On the other hand, the Link ... |
91. Using createQuery to return partially populated beans forum.hibernate.orgWe're attempting to select a DB peristence tool, so naturally my research has lead me here. I've never actually used Hibernate past playing around with the Caveat Emptor example, so please if I'm missing something, be sure to point it out. The real issue we have is that we want both full and partial beaned results returned. I've noticed that when ... |
92. Hibernate vs Entity Beans forum.hibernate.orgI apologize if this subject has already been killed to death, but I am looking for some specific points that would help me in directing an architecture towards using Hibernate as opposed to Entity Beans. I worked in a massive architecture as a developer that used Hibernate as the persistence framework. But have switched jobs to a senior developer with a ... |
93. JBoss 3.2.6 CMT Session bean forum.hibernate.orgHi, I recently upgraded my appserver from jboss3.2.2 to JBOSS 3.2.6/Hibernate. I couldn't find good exmaples on how to mantain hibernate session with stateless session beans in new jboss. According to jboss3.2.6 documentaion, hibernate session is internally managed for each HTTP request and so i am not explicitly opening or closing hibernate session. Application works quite fine for me, but i ... |
94. my persistance bean saved to HttpSession get lost forum.hibernate.org |
95. Hibernate and session beans: do they complement each other ? forum.hibernate.orgHi My current project architecture has Struts in Presentation layer, Stateless session beans in business layer and Hibernate/DAO in data layer. The database is Oracle 9i. I am experiencing performance issues for search pages which return large object trees. I bet it is happending due to large data being serialized/unserialized from 1. Database server to application server's data layer 2. from ... |
96. How to define the value of the if in a transient bean? forum.hibernate.org |
97. Application error: BMT stateless bean transport should compl forum.hibernate.orgHi all, I have a weird issue. I am trying to update multiple entities of the same type in one transaction. If the transaction only has one entity that needs updating then everything works fine. If I do the same process as with the one entity but do it multiple times it fails!! Anybody got ideas? Cheers Tom Hibernate version: Its ... |
98. issue update SQL only if bean property changed forum.hibernate.orgHibernate version:3.0.3 Name and version of the database you are using:Oracle 9.1 I'm using the OSIV pattern in my web app which is built using Spring MVC. In my UI, I have an editable table where one or more rows can be changed by the user before he hits the 'Save' button. The Spring binding mechanism binds *all* of the input ... |
99. delete an entry in db, with session bean in jboss forum.hibernate.orgHello, i am trying to delete a entry in my db. i am using a session bean in jboss, and this session bean creates and manipulates the entries well, but there's no way to delte it. the statements used are tested in the SQL Worksheet, and working. How can i delete these entries. Thanks Markus Hibernate version: 3.0.5 JBoss version: 4.0.2 ... |
100. Using Hibernate3.0 with Portal Bean Portlets on VAP7.2.1 forum.hibernate.orgAuthor Message deveshHP Post subject: Using Hibernate3.0 with Portal Bean Portlets on VAP7.2.1 Posted: Thu Jul 07, 2005 3:08 am Newbie Joined: Tue May 10, 2005 12:33 am Posts: 3 Hibernate 3.0: I am using hibernate with portal bean portlets on VAP (Vignette Application Portal 7.2.1). Following logs hibernate application is generating while initializing the hibernate session. This exception ... |