dto
Strategies for converting collections from one type to another
What is the most efficient way to convert A开发者_如何转开发rrayLists with EO (Entity Object) into ArrayLists of DTO objects or ArrayLists of Ids. Please, keep in mind that every EO may consist of pro[详细]
2023-03-20 21:02 分类:问答caching a database into an array which refreshes every 5 minutes
I need to cache a database into an array using Java, what is the best way to do this? I need this array to refresh every 5 mi开发者_C百科nutes and I need to be able to query the array.[详细]
2023-03-18 15:03 分类:问答How to map POJO in to DTO, if fields are with different name
Problem description: I have a POJO object, which is mapped from database. Which having attributes(column) with same name as in database t开发者_如何学编程able. But it required some changes and I will[详细]
2023-03-14 09:31 分类:问答NHibernate AliasToBeanResultTransformer & Collections
I would like to return a DTO from my data layer which would also contain child collections...such as this:[详细]
2023-03-13 09:06 分类:问答Best way to implement the java facade/service concept in rails application
I\'m new to the rails environment and come from a java enterprise web application background.I want to create a few classes that allow you to easily interface with an external application that exposes[详细]
2023-03-13 02:10 分类:问答Dependency Injection - use with Data Transfer Objects (DTOs)?
Consider the code below (which has been simplified). I have a service class that returns a list of specific DTO objects that each implement their own specific interface. In the actual code these are g[详细]
2023-03-11 23:58 分类:问答Multiple mappings for the same type using AutoMapper
I need help with my mapper program. i have two types开发者_如何转开发 (Lets say A and B)and i want to have two different mappings.[详细]
2023-03-10 18:12 分类:问答Can I use DTO composed of other classes or just primitives?
If I have two classes: public class Person { public String name; public int age; } public class Address { public String address;[详细]
2023-03-10 17:20 分类:问答T4 text template with IList
I am using a T4 template to create DTO\'s for each of my Data Entities, however it is falling over on using IList.[详细]
2023-03-09 15:33 分类:问答Google Application Engine DTO to JDO
Is there anyway to transfer 开发者_如何学PythonJDOs accross RPC as DTO such in GWT, we used to have Gilead for hibernate Objects??[详细]
2023-03-08 22:08 分类:问答