graph « Object « Spring Q&A





1. Commons method to test for an empty Java object graph?    stackoverflow.com

I've found myself writing a method like this:

boolean isEmpty(MyStruct myStruct) {
  return (myStruct.getStringA() == null || myStruct.getStringA().isEmpty())
    && (myStruct.getListB() == null || myStruct.getListB().isEmpty());
}
And then imagine this struct ...

2. Spring IoC : How to grab an object Sub graph ?    forum.springsource.org

Spring IoC : How to grab an object Sub graph ? Hi everyone, I'am coding with Spring 3.x with annotations. I put on my bean the annotation @Component. Inside this bean ...

3. Object graph prototype    forum.springsource.org

Object graph prototype Hello, simple question: Is it possible to have object graph prototype in Spring? To be more exact, I need to define in the XML files the folowing graph ...

4. How to remove whole object graph using DML-Style removal?    forum.springsource.org

Hi, In Hibernate3.1x it is possible to use DML-style for update/insert/delete operations on Hibernate entities. Suppose I have an object graph that I need to remove by deleting parent object. In ...

5. Saving Complex Object graph    forum.springsource.org

Jan 20th, 2008, 10:44 AM #1 zahy.bnaya@gmail.com View Profile View Forum Posts Private Message Junior Member Join Date Aug 2007 Posts 14 Saving Complex Object graph Hello, I am trying a ...