Hibernate Criteria API Supported in IntelliJ IDEA X
Since IntelliJ IDEA X property names can be completed and navigated. Unrecognized properties are highlighted by the corresponding inspection. The screenshot says it all in a visual manner. Download IntelliJ IDEA X EAP build and try this feature.
Database Access Improved
The latest IntelliJ IDEA 9.0.2 EAP contains a big number of Database-related functionality changes: Database Console now has its own toolwindow New console-like UI that keeps input and output in one place and retains the highlighting for execution history Keyboard shortcuts for all Console actions are now configurable Per-result Page Up, Page Down and Refresh actions Complete support for In-Memory Databases (try running some DDL in Console then click Refresh Tables and all the tables will be loaded in the Data Sources tree) Improved support for heavy JDBC drivers that use native librari
Generate Persistence Mappings by Database Schema
The upcoming IntelliJ IDEA 8.1.1 includes a new option to generate separate XML mapping per entity.
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:
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 no Hibernate-specific database connection options, it should be mapped to an existing data source via JPA facet settings. Tip: HQL console can also be used to generate DDL statements for JPA and Hibernate mappings via its Generate DDL command. Update: If a Persistence Unit or Session Factory is mapped to a valid local Data Source there is no need to specify JDBC d
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):
Spring and Hibernate Coding Assistance
IntelliJ IDEA 7 M1 introduces the full-blown support for Spring and Hibernate through the dedicated facets. Traditionally, Spring and Hibernate are integrated with a wide range of IntelliJ IDEA productivity-boosting features.With IntelliJ IDEA you can create Spring applications from scratch with just few keystrokes.Here I outline some examples that demonstrate how IntelliJ IDEA can help you. Context files are created from templates ALT+INS inside of a context file lets instantly add beans and patterns Very wide range of beans is supported. Each of them is created through a dedicated live
IntelliJ IDEA Hibernate Annotations Trick
IntelliJ IDEA 6.0 features numerous enhancements for making Java EE development easier and more productive. EJB relationship diagram builder brings valuable bonus to those who use Hibernate annotations for defining data models in their applications. All the power of the EJB diagram builder is at your disposal. You can get the complete picture of how your Hibernate entities relate one to another, and navigate through their relationships in just a couple of mouse clicks. Just right-click the persistence unit where your Hibernate annotations are used and select Open ER Diagram. IntelliJ IDEA wil