vijayeluri / sproc-spring-mapper Goto Github PK
View Code? Open in Web Editor NEWThis project forked from danielnowak/sproc-spring-mapper
A generic Mapper for stored Procedure Results in the Spring Framework
License: Other
This project forked from danielnowak/sproc-spring-mapper
A generic Mapper for stored Procedure Results in the Spring Framework
License: Other
TypeMapper ---------- Introduction ------------ The TypeMapper is a small Java OR-Mapper for the Postgres Databases. Other then other OR-Mappers it supports postgres database types, which are in general serialiazed to (field1,field2), and arrays. It is designed as an extention to the spring dao package and it implements the interface ParameterizedRowMapper, which is part of the spring framework. Usage ----- public class Obj { @DatabaseField(name="field") public int i; } TypeMapperFactory.createTypeMapper(Obj.class); ValueTransformer ---------------- Sometimes a value cannot be translated 1:1 to a Java Object, for example enums. For this case the TypeMapper has ValueTransformers, wchich are executed before the value is set. public class Obj { @DatabaseField(name="field", transformer=MyEnumTransformer.class) public MyEnum e; } public class GenderCodeTransformer extends ValueTransformer<String, MyEnum> { @Override public MyEnum transform(final String string) { return MyEnum.fromCode(string); } } Further informations ------------------- Have a look into the tests
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.