Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Code generation tool for persitence layer (from database)

Why don't you just write your DAO once and extend it when needed? Code
gen seems like the wrong solution for DAO's.

./tch



On Mon, Nov 24, 2008 at 9:04 AM, csergiu77 <csergiu77@xxxxxxxxx> wrote:
>
>
> Thx.
>
> That is what i want to avoid :) (i'm lazy in write code that repeats in
> logic and structure)
>
> There is something on the market called Firestorm DAO but I wondered if
> there is no other magic toold that code all simple persitance layer from
> database (only simple insert,update,delete,findAll) ?
>
>
>
>
>
> Tim Hollosy wrote:
>>
>> Well for JPA in Eclipse there is Dali (JPA Tools).
>>
>> After that you don't have to write code to make inserts/updates/deletes :)
>>
>> Though, many people have a common "DAO" class for selectAll, etc. That
>> really depends on the framework you're using though -- how you make
>> your DAO class.
>>
>> ./tch
>>
>>
>>
>> On Sat, Nov 22, 2008 at 1:06 PM, csergiu77 <csergiu77@xxxxxxxxx> wrote:
>>>
>>>
>>> Do you know any good persistence layer code generation tool ? (not only
>>> for
>>> JPA)
>>>
>>> To generate simple inserts,update,delete,getAll...,findBy bla bla stuff
>>> and
>>> create the interfaces and necessary factories.
>>>
>>> THX !
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Code-generation-tool-for-persitence-layer-%28from-database%29-tp20639046p20639046.html
>>> Sent from the EclipseLink - Users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> eclipselink-users mailing list
>>> eclipselink-users@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>>>
>> _______________________________________________
>> eclipselink-users mailing list
>> eclipselink-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Code-generation-tool-for-persitence-layer-%28from-database%29-tp20639046p20661083.html
> Sent from the EclipseLink - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>


Back to the top