Basic DAO Reverse Engineering

Is there any plug-in or other way to reverse database tables into DAO objects (as well as entites).

From what I've been able to figure out, Intellij apparently wants us to write those DAOs by hand.

Competing products do this DAO creation for you so you can (more quickly) get to work.

I hope I'm missing something here since I'd prefer to use Intellij if possible.

(There used to be a Hibernate Tools plug-in for Intellij, but it never seemed to work.)

Look forward to any replies.

Thanks,

- M

4 comments
Comment actions Permalink

Hi Taras,

Yes, that might work, but I can't find any really good examples of how to use Roo in IDEA.

Are you using Roo?

How did you get started?

Did you find any good tutorial sites?

Thanks,

- M

0
Comment actions Permalink

Hi Mork,

I'm simply using the Roo console - nothing IDEA-specific there.
It seems that in IDEA 10.5 the console is directly integrated, but I have not tried it yet.

-tt

0
Comment actions Permalink

I tried to use Roo in IDEA, but it didn't work well.

In some cases, IDEA's Roo console stopped offering "intellisense" and other times it simply said what I was trying to do "wasn't available" (I was trying to type in the SpringSource pizza example).

I reported this problem and it's apparently been forwarded to the responsible staff.

It seems everything I try with IDEA takes me hours and often just doesn't work. I think IDEA is the very best "editor" out there, but ....(what usually is the case is that...)

Since my project is under incredible time stress, we switched to "MyEclipse for Spring". ME4S reverse engineers and scaffolds everything (including initial CRUD working JSPs with Edit and Save) and it actually .... works!

(assuming you have a database ready, it took me about 2 minutes to get a full Spring app working in the IDE.)

Thanks for your reply.

- M

0

Please sign in to leave a comment.