You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "John E. Conlon" <jc...@verticon.com> on 2004/03/12 16:48:49 UTC

[mapper] Any implementations yet

Mapper looks like a nice solution to debundle mapping implementations
but are there any implementations using Mapper right now. 

I would like to use this even if I have to write wrappers myself, but I
don't want to re-invent the wheel. 

thanks,
John Conlon


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [mapper] Any implementations yet

Posted by David Graham <gr...@yahoo.com>.
--- "John E. Conlon" <jc...@verticon.com> wrote:
> On Fri, 2004-03-12 at 15:50, David Graham wrote:
> > --- "John E. Conlon" <jc...@verticon.com> wrote:
> > > On Fri, 2004-03-12 at 11:04, David Graham wrote:
> > > > --- "John E. Conlon" <jc...@verticon.com> wrote:
> > > > > Mapper looks like a nice solution to debundle mapping
> > > implementations
> > > > > but are there any implementations using Mapper right now. 
> > > > > 
> > > > > I would like to use this even if I have to write wrappers
> myself,
> > > but I
> > > > > don't want to re-invent the wheel. 
> > > > 
> > > > Each implementation of the Mapper interface will typically persist
> one
> > > > kind of business object.  
> > > Ah I think I see said the blind man. 
> > > 
> > > > Obviously this is specific to your app. so I
> > > > don't know what you mean by your question.
> > > > 
> > > 
> > > >From the introduction:
> > > 
> > > The purpose of Mapper is similar to Commons Logging. It isn't a
> mapping
> > > technology itself, it merely exposes common functionality of other
> > > mapping APIs.
> > > 
> > > I was expecting there may be mapper wrappers for some of the
> persistent
> > > technologies out there...
> > 
> > Mapper used to contain JDBC helper code but that was removed when
> DbUtils
> > was released.
> 
> I was debating the merits of DbUtils vs Commons SQL and chose to
> continue to work with the SQL. (But I would reconsider if I saw more
> community momentum). Are there any examples of DbUtils and mapper
> integration? 

DbUtils and SQL have different goals.  SQL is still in the sandbox while
DbUtils has made an official 1.0 release and is working towards 1.1.  

My projects use both Mapper and DbUtils for persistence.  I've recently
started using Hibernate as well so I'm considering some changes to Mapper.
 Mapper literally saved one project when the database design changed at
the last minute.  All I had to do was change the Mapper implementation
classes and the rest of the system remained unchanged :-).

David

> 
> 
> > > What else do you have planned for the Mapper project besides
> > > documentation?
> > 
> > Much of the most useful code has migrated to other projects (ie.
> DbUtils)
> > and what remains is a small layer above mapping technologies.  I've
> been
> > considering changes to the Mapper interface and exception handling but
> > Mapper needs a bigger community before it can be released to commons
> > proper.  Feel free to contribute code/ideas!
> > 
> > David
> > 
> > > 
> > > thanks,
> > > John
> > > 
> > > 
> > > 
> > > 
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> commons-user-help@jakarta.apache.org
> > > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Search - Find what you&#194;&#8217;re looking for faster
> > http://search.yahoo.com
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [mapper] Any implementations yet

Posted by "John E. Conlon" <jc...@verticon.com>.
On Fri, 2004-03-12 at 15:50, David Graham wrote:
> --- "John E. Conlon" <jc...@verticon.com> wrote:
> > On Fri, 2004-03-12 at 11:04, David Graham wrote:
> > > --- "John E. Conlon" <jc...@verticon.com> wrote:
> > > > Mapper looks like a nice solution to debundle mapping
> > implementations
> > > > but are there any implementations using Mapper right now. 
> > > > 
> > > > I would like to use this even if I have to write wrappers myself,
> > but I
> > > > don't want to re-invent the wheel. 
> > > 
> > > Each implementation of the Mapper interface will typically persist one
> > > kind of business object.  
> > Ah I think I see said the blind man. 
> > 
> > > Obviously this is specific to your app. so I
> > > don't know what you mean by your question.
> > > 
> > 
> > >From the introduction:
> > 
> > The purpose of Mapper is similar to Commons Logging. It isn't a mapping
> > technology itself, it merely exposes common functionality of other
> > mapping APIs.
> > 
> > I was expecting there may be mapper wrappers for some of the persistent
> > technologies out there...
> 
> Mapper used to contain JDBC helper code but that was removed when DbUtils
> was released.

I was debating the merits of DbUtils vs Commons SQL and chose to
continue to work with the SQL. (But I would reconsider if I saw more
community momentum). Are there any examples of DbUtils and mapper
integration? 


> > What else do you have planned for the Mapper project besides
> > documentation?
> 
> Much of the most useful code has migrated to other projects (ie. DbUtils)
> and what remains is a small layer above mapping technologies.  I've been
> considering changes to the Mapper interface and exception handling but
> Mapper needs a bigger community before it can be released to commons
> proper.  Feel free to contribute code/ideas!
> 
> David
> 
> > 
> > thanks,
> > John
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what you’re looking for faster
> http://search.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [mapper] Any implementations yet

Posted by David Graham <gr...@yahoo.com>.
--- "John E. Conlon" <jc...@verticon.com> wrote:
> On Fri, 2004-03-12 at 11:04, David Graham wrote:
> > --- "John E. Conlon" <jc...@verticon.com> wrote:
> > > Mapper looks like a nice solution to debundle mapping
> implementations
> > > but are there any implementations using Mapper right now. 
> > > 
> > > I would like to use this even if I have to write wrappers myself,
> but I
> > > don't want to re-invent the wheel. 
> > 
> > Each implementation of the Mapper interface will typically persist one
> > kind of business object.  
> Ah I think I see said the blind man. 
> 
> > Obviously this is specific to your app. so I
> > don't know what you mean by your question.
> > 
> 
> >From the introduction:
> 
> The purpose of Mapper is similar to Commons Logging. It isn't a mapping
> technology itself, it merely exposes common functionality of other
> mapping APIs.
> 
> I was expecting there may be mapper wrappers for some of the persistent
> technologies out there...

Mapper used to contain JDBC helper code but that was removed when DbUtils
was released.

> 
> What else do you have planned for the Mapper project besides
> documentation?

Much of the most useful code has migrated to other projects (ie. DbUtils)
and what remains is a small layer above mapping technologies.  I've been
considering changes to the Mapper interface and exception handling but
Mapper needs a bigger community before it can be released to commons
proper.  Feel free to contribute code/ideas!

David

> 
> thanks,
> John
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [mapper] Any implementations yet

Posted by "John E. Conlon" <jc...@verticon.com>.
On Fri, 2004-03-12 at 11:04, David Graham wrote:
> --- "John E. Conlon" <jc...@verticon.com> wrote:
> > Mapper looks like a nice solution to debundle mapping implementations
> > but are there any implementations using Mapper right now. 
> > 
> > I would like to use this even if I have to write wrappers myself, but I
> > don't want to re-invent the wheel. 
> 
> Each implementation of the Mapper interface will typically persist one
> kind of business object.  
Ah I think I see said the blind man. 

> Obviously this is specific to your app. so I
> don't know what you mean by your question.
> 

>>From the introduction:

The purpose of Mapper is similar to Commons Logging. It isn't a mapping
technology itself, it merely exposes common functionality of other
mapping APIs.

I was expecting there may be mapper wrappers for some of the persistent
technologies out there...

What else do you have planned for the Mapper project besides
documentation?

thanks,
John




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [mapper] Any implementations yet

Posted by David Graham <gr...@yahoo.com>.
--- "John E. Conlon" <jc...@verticon.com> wrote:
> Mapper looks like a nice solution to debundle mapping implementations
> but are there any implementations using Mapper right now. 
> 
> I would like to use this even if I have to write wrappers myself, but I
> don't want to re-invent the wheel. 

Each implementation of the Mapper interface will typically persist one
kind of business object.  Obviously this is specific to your app. so I
don't know what you mean by your question.

David

> 
> thanks,
> John Conlon
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org