1.This one works
<form method="POST">
<table>
<c:forEach var="customerList" varStatus="status" items="${customerCollection.customerList}">
<tr>
...
Type: Posts; User: arun; Keyword(s):
1.This one works
<form method="POST">
<table>
<c:forEach var="customerList" varStatus="status" items="${customerCollection.customerList}">
<tr>
...
I have situation where I am suppose to create a data entry screen for the products.
Basically this screen will have multiple rows. Each row is associated with one "Product" object. The command...
I am using Spring ver 1.1.2
getSession().lock(user, net.sf.hibernate.LockMode.UPGRADE);
getHibernateTemplate().initialize(person.getAddresses());
Just wondering were this code should go....
Hi,
I know this is to do with the Hibernate Session. But I am not sure how to solve this.
class Person {
String firstName;
String lastName;
Set addresses;
}
Both the queries have the same effect.
But this is what I found from Hibernate forums.
Using List implementation for collections is not a recommended option. So I reimplemented it using Set....
Hi,
I have an issue while retrieving the data from the database using Hibernate.
This is a very simple structure. A Person object having many Address objects.
Person {
Long personId;...
I have the same problem. But in my case the collection is a java.util.List.
When I analyzed the collection. I found that the collection.size() returned me 2 instead of 1. When I iterated through...
Hi,
Just like to know whether Spring provides any facility for "Bread Crumbs" construction.
Thanks,
Arun
Hi,
I am very new to Springframework. I like to know what is the right approach for Form Validation that involves Collection. Here is an example.
The domain object is as below:
Person {
...