Author Archives: gregsh

Find Action Saves Time

Instead of wasting your time searching the menus and toolbars in an attempt find out that action you need right now, use the Find Action command (Ctrl+Shift+A) to quickly locate what you need. It works just like Go to Class:

Posted in Tips & Tricks | Tagged | 1 Comment

Show Parameter Info in SQL

In Maia the Show Parameter Info action (Ctrl+P) is available in SQL function calls and value expressions.

Posted in New Features | Tagged , , | 1 Comment

JavaEE 6 Support in Maia

First Maia EAP brings you the following JavaEE support improvements: EJB 3.1 @Singleton Session Bean JPA 2.0 @ElementCollection attribute type, plus freshly allowed attribute types in embeddable objects (@OneToOne, @Embedded, etc.) JPA 1.0/2.0 with Hibernate provider will not throw false-positive … Continue reading

Posted in New Features | Tagged , , , | Leave a comment

Generate Persistence Mappings by Database Schema

The upcoming IntelliJ IDEA 8.1.1 includes a new option to generate separate XML mapping per entity.

Posted in New Features | Tagged , , , | 1 Comment

User Defined Language Injection

In IntelliJ IDEA you can quickly configure language injection for XML tags, attributes and Java method parameters and their return values. Just use Inject Language Intention on the code like this:and it will immediately turn to: And you get the … Continue reading

Posted in New Features | Tagged | 4 Comments

Generating Persistence Mappings from Database Schema

With IntelliJ IDEA you can quickly generate persistence mappings from any database schema. This feature is not so easy to find, so here’s the tip:

Posted in New Features, Tips & Tricks | Tagged , , , | Leave a comment

HQL Console with Pure JPA Facets

In IntelliJ IDEA HQL console can be used with pure JPA facets (as well as with Hibernate facets) to run JPAQL and HQL queries. All you need is Hibernate libraries and JDBC driver in a module classpath. If persistence.xml contains … Continue reading

Posted in Tips & Tricks | Tagged , , , | 5 Comments

ER-Diagram Structure Popup

In IntelliJ IDEA you can quickly navigate within JPA/Hibernate ER-Diagram using the File Structure Popup (press Ctrl+F12, or invoke View menu, File Structure Popup command):

Posted in Tips & Tricks | Tagged , , , , | 2 Comments