Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

All true.

I loved workgroup style app development. R:Base, Access, dBase, FoxPro. Then I switched to UI work for a stretch.

Circling back to back-end work, naive me embraced Hibernate (2004?), assuming it'd be familiar and good.

I was wrong.

Now that I have a lot of free time, I'm finally recreating the workgroup style experience, for the general dev population. Sort of.

Using Hibernate, our workflow became: rough in some ORM hack, capture the generated SQL, use SQL Query Analyzer and Toad to make it work (and performant), coerce Hibernate to regenerate the SQL we want. Totally backwards, right?

Eventually we gave up and just used HQL.

At that point, why even bother with ORM?

So I created a "SQL first" workflow. Treat your SQL (DML) as source code, use those explicit queries to generate the prepared statements (and typesafe DAOs, DTOs, etc). In other words, auto-generate all the things you'd do yourself, if only you had more time.

I used my tool for years. Am currently making it usable for other devs. eg Spent last week making my grammar for MySQL "good enough" for initial release. Already have PostgreSQL and SQLite, plus my original turrible "poor mans SQL" grammar (comparable SQL-92). Which I'll cull once I have "good enough" T-SQL and PL/SQL grammars.

Any way. Thanks for reading.

I only meant to confirm your experience with development DBAs. The only such person I was able to retain was near retirement and was tired of the hustle.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: