[
http://jira.jboss.com/jira/browse/JBIDE-1190?page=all ]
Max Andersen closed JBIDE-1190.
-------------------------------
Resolution: Done
Ok - persistence.xml completion is now enabled again (same as for cfg.xml)
Property name completions works and I added the following basic completions:
basicValues.put("bytecode.provider", new String[] { "cglib",
"javassist"} );
basicValues.put("bytecode.use_reflection_optimizer", TRUE_FALSE );
basicValues.put("cache.use_minimal_puts", TRUE_FALSE );
basicValues.put("cache.use_query_cache", TRUE_FALSE );
basicValues.put("cache.use_second_level_cache", TRUE_FALSE );
basicValues.put("cache.use_structured_entries", TRUE_FALSE );
basicValues.put("connection.autocommit", TRUE_FALSE );
basicValues.put("connection.isolation", new String[] { "0",
"1", "2", "4", "8"} );
basicValues.put("format_sql", TRUE_FALSE );
basicValues.put("generate_statistics", TRUE_FALSE );
basicValues.put("hbm2ddl.auto", new String[] { "validate",
"update", "create", "create-drop" } );
basicValues.put("jdbc.batch_versioned_data", TRUE_FALSE );
basicValues.put("jdbc.use_get_generated_keys", TRUE_FALSE );
basicValues.put("jdbc.use_scrollable_resultset", TRUE_FALSE );
basicValues.put("jdbc.use_streams_for_binary", TRUE_FALSE );
basicValues.put("jdbc.wrap_result_sets", TRUE_FALSE );
basicValues.put("order_inserts", TRUE_FALSE );
basicValues.put("order_updates", TRUE_FALSE );
basicValues.put("query.jpaql_strict_compliance", TRUE_FALSE );
basicValues.put("query.startup_check", TRUE_FALSE );
basicValues.put("show_sql", TRUE_FALSE );
basicValues.put("transaction.auto_close_session", TRUE_FALSE );
basicValues.put("transaction.flush_before_completion", TRUE_FALSE );
basicValues.put("use_identifier_rollback", TRUE_FALSE );
basicValues.put("use_sql_comments", TRUE_FALSE );
Others require more custom/specific coding/lists - lets open seperate issues for those if
important.
Editor for persistence.xml
--------------------------
Key: JBIDE-1190
URL:
http://jira.jboss.com/jira/browse/JBIDE-1190
Project: JBoss Tools
Issue Type: Feature Request
Components: Hibernate
Reporter: Gavin King
Assigned To: Max Andersen
Fix For: 2.0.0.CR1
We should have an editor for persistence.xml that knows all the hibernate properties and
possible values.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira