[ANN] Hibero 2.0 - Hibernate plug-in
We are happy to announce the release of Hibero 2.0 for IntelliJ IDEA 6.
Hibero makes developing Hibernate applications a pleasure.
Key new features of Hibero 2.0:
HQL Editor supports Auto-Completion, Code Navigation, Find Usages, Rename/Move/Safe Delete refactorings, Code Formatting, Surround With, Code Folding and Errors Highlighting for HQL 3.
Enabled for Hibernate XML Configuration files: Auto-Completion, Code Navigation, Find Usages, Rename/Move/Safe Delete refactorings, Errors Highlighting and Quick Fixes.
HQL Scratch Pad Editor which doesn't require a physical file.
Allow configuration of Hibernate runtime environment to come from Hibernate, Spring or Java Persistence API.
Query results table option to display returned entities using toString() or the entity properties.
Hibernate XML Configuration and Mapping file templates.
New GUI settings.
Ability to define HQL Style Schemes with user customizations about how to format HQL queries.
Details about new features and enhancements are available on-line on the Hibero's web site at http://www.hibero.com/.
Download Hibero 2.0 from http://www.betosoftware.com/hibero/download.html or IDEA Plugin Manager.
New single user licenses are available for $49 USD and upgrades for $29.40 USD.
The Hibero 2.0 upgrade is available free of charge to registered users of Hibero 1.x who bought a license in the previous 3 months to the release of Hibero 2.0.
Free 30 day fully-functional trial licenses are also available at http://www.betosoftware.com/hibero/license/.
Enjoy!
- The Hibero Team
Beto Software, S.L.
http://www.betosoftware.com/
请先登录再写评论。
I just requested evaluation license and put it into config folder, but plugin complains that license file is invalid. Does anybody had any luck installing Hibero v.2?
Works ok for me...
BTJ
Please send us the evaluation license file at support@betosoftware.com and we'll let you know what is the problem.
Thank you.
I'm using an eval license. I am able to use auto-completion in mapping files, but all of the HQL editor/query execution features seem to be disabled.
The context menu "HQL Editor" grays out when I move the mouse over it, as does the "Run HQL" command in the Run menu. Ctl+F10 also doesn't execute the hql query currently selected.
I have a profile set up, which accesses the database correctly for the auto-completion. Is there another step I need to take to use hql query execution? Or are these features disabled in the eval? I doubt this, as it would make the eval not very helpful.
Evaluation licenses are fully functional - only limitation is that they just work for the evaluation period (30 days).
The context menu "HQL Editor" (Window | HQL Editor) is enabled when the selected editor is an HQL Editor. This is a group menu with actions Show HQL Query Results View (Alt + Shift + R), Show HQL Query Translator View (Alt + Shift + T) and Show HQL Query Parameters View (Alt + Shift + P).
To create an HQL Editor just create a file with extension ".hql" and then HQL Translation, Execution, Parameters Discovery, etc. will be available.
Alternatively, if you don't want to create a physical file you may use the HQL Scratch Pad which may be opened from the File menu. Or also, place the caret at a string literal or named query and invoke Quick HQL Edition/Execution/Translation from the View menu.
For further details please visit the Hibero documentation web site available at http://www.betosoftware.com/hibero/doc/ (in particular the HQL section explains how to use the HQL Editor and related features http://www.betosoftware.com/hibero/doc/hql.html).
Best regards,
--The Hibero Team
Thanks. That helped.
I got an error in IDEA, though, when executing a query that selects a property from a member of a collection.
"select p.children.age from Parent as p" // children is a member variable of Parent, of type java.util.List
Here's the stacktrace from IDEA:
Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEventQueueUtilities$ComponentWorkRequest@4f8b88,notifier=null,catchExceptions=false,when=1161509554394] on sun.awt.windows.WToolkit@695527
java.lang.NullPointerException
at com.betosoftware.hibero.c.p.valueOf(p.java:15)
at com.intellij.util.ui.ListTableModel.getValueAt(ListTableModel.java:74)
at javax.swing.JTable.getValueAt(JTable.java:1903)
at javax.swing.JTable.prepareRenderer(JTable.java:3911)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:742)
at javax.swing.JComponent.paint(JComponent.java:1005)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:842)
at javax.swing.JComponent.paint(JComponent.java:1014)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:163)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:8)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:145)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Thanks for reporting - watch Jira issue http://www.jetbrains.net/jira/browse/HBR-31.