Comments (7)
Original comment by [email protected]
on 17 May 2010 at 1:26
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from mybatis.
Original comment by [email protected]
on 17 May 2010 at 3:12
- Added labels: Type-Feature, Priority-Low, Version-Release3.x, Component-SqlMaps
- Removed labels: Type-Enhancement, Priority-Medium
from mybatis.
Original comment by [email protected]
on 2 Jun 2010 at 4:41
- Changed state: Accepted
from mybatis.
Hi,
I edited org.apache.ibatis.annotations.Options and
org.apache.ibatis.builder.annotation.MapperAnnotationBuilder to make it.
Instead of adding a new annotation, I added the resultMap attribute to @Options.
Use it this way :
[code]
@Options(resultMap="mapperNamespace.resultMapId")
[/code]
Original comment by [email protected]
on 28 Sep 2010 at 11:23
Attachments:
from mybatis.
Issue 17 has been merged into this issue.
Original comment by [email protected]
on 26 Dec 2010 at 11:42
from mybatis.
Fixed in SVN for 3.0.4. I went with a new @ResultMap annotation because I
think the @Options annotation is getting a bit overloaded and there are
possible unintended consequences of using that annotation.
Original comment by [email protected]
on 29 Dec 2010 at 9:52
- Changed state: Fixed
- Added labels: Target-Release3.0.4
from mybatis.
Hi, (Travis Hein, original reporter here).
I have upgraded to 3.0.4, and now able to make use of this @ResultMap
annotation.
It works perfectly !
Thank you for the time and consideration to implement this feature.
Original comment by [email protected]
on 16 May 2011 at 6:20
from mybatis.
Related Issues (20)
- [mybatis-spring] Mapper scanning should not rely on proprietary @Mapper annotation HOT 1
- Migrations archive unzips to "ibatis-migrations" instead of "mybatis-migrations" HOT 2
- OSGI Support HOT 4
- Remove mapper order restriction when referencing SQL fragment in another file. HOT 40
- Non-existent object id is incorrectly resolved when there is an entry with the same short name. HOT 13
- Allow applying @Transactional to types and interfaces and add a @NoTransaction attribute HOT 4
- Please prioritize issues HOT 1
- Adjust issue's status HOT 1
- Unable to get auto-generated ID with mysql using annotations HOT 1
- Mybatis-spring doesn't propagate exceptions up the stack when using batch mode HOT 17
- how to free temp tablespace allocated for a select stmt return parameter HOT 1
- rollback on BatchExecutor executes batched statements HOT 8
- resultMap doesn't support mapping of unnamed columns by index HOT 2
- mybatis3.0.3 bug in WebService ?? HOT 2
- Annotation-based and AOP-based sessions HOT 3
- Global parameter typeHandler not invoked in case of null values HOT 2
- Exception: Result Maps collection does not contain value for test.User-result HOT 2
- Handling of update counts before result sets in select HOT 8
- configure behavior when all columns values are null for some rows HOT 5
- queryForMap does not use a column as map HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mybatis.