jmock libraries in hibernate.console.test
by Max Rydahl Andersen
Hi,
Anyone know why we got a complete jmock set of libraries in
hibernate.console.test which overlaps with hibernate it self ? i.e.
cglib and others.
Why is this bundled inside hibernate console.test ?
/max
15 years, 5 months
weekly status
by Vitali Yemialyanchyk
I made small code review related with JBIDE-4426 I get several questions:
why GenerateEntitiesWizard -> performFinish ->
wc.setAttribute("hibernate.dialect",
"org.hibernate.dialect.PostgreSQLDialect")?
why we setup org.hibernate.dialect.PostgreSQLDialect by default? it look
like some error
Dima create JBIDE-4555.
Max, why ConsoleConfiguration -> localCfg.setProperty(
"hibernate.temp.use_jdbc_metadata_defaults", "false" ); - is false not a
true?
Is the reason the same - autoConfigureDialect is commented:
//autoConfigureDialect(localCfg); Disabled for now since it causes very
looong timeouts for non-running databases + i havent been needed until
now...
autoConfigureDialect
So why GenerateEntitiesWizard -> performFinish ->
wc.setAttribute("hibernate.temp.use_jdbc_metadata_defaults", true);
Do you know some other way - to check non-running database quickly without
getConnection?
It is possible to enhance SettingsFactory -> buildSettings here:
è if ( useJdbcMetadata ) {
it is possible to cache databaseName & databaseMajorVersion to read it only
once
Vitali
15 years, 6 months
More i18n questions
by Sean Flanigan
Do you think it makes sense to translate English text embedded in
template code?
eg in the examples/ module,
or in a class like
/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/commands/ClientSampleCreationCommand.java
It's not difficult to externalize the English text, but I suppose there
could be a problem if a translator used a non-ASCII character and the
compiler uses the wrong character set. Or if the translator chooses a
variable name which isn't a legal identifier in Java.
Is it worth the trouble (and extra testing)?
--
Sean Flanigan
Senior Software Engineer
Engineering - Internationalisation
Red Hat
15 years, 6 months
hudson without access to svn
by Max Rydahl Andersen
Hi,
Hudson builds are currently failing because the move of svn.jboss.org to
another host were not properly reflected in hudson's firewall setup.
QA/IT is telling me they will fix this ASAP. I'll let you know when I
got a confirmation on it.
/max
15 years, 6 months
Removed all bin folders
by Max Rydahl Andersen
Hi,
After battling svn and eclipse svn clients's constant wish for locking
any folder with a .svn in them I got fed up and deleted all bin folders:
./archives/tests/org.jboss.ide.eclipse.archives.test/inputs/projects/JBIDE1406/bin
./archives/tests/org.jboss.ide.eclipse.archives.test/inputs/projects/JBIDE2315/bin
./archives/tests/org.jboss.ide.eclipse.archives.test/inputs/projects/JBIDE2439a/bin
./archives/tests/org.jboss.ide.eclipse.archives.test/inputs/projects/JBIDE2439b/bin
./jbpm/tests/org.jboss.tools.jbpm.convert.test/bin
./jmx/tests/org.jboss.tools.jmx.core.test/projects/JMX_EXAMPLE/bin
./maven/plugins/org.jboss.tools.maven.core/bin
./maven/plugins/org.jboss.tools.maven.seam/bin
./maven/plugins/org.jboss.tools.maven.ui/bin
./seam/tests/org.jboss.tools.seam.core.test/projects/RefactoringTestProject-ejb/bin
./seam/tests/org.jboss.tools.seam.core.test/projects/RefactoringTestProject-test/bin
./seam/tests/org.jboss.tools.seam.core.test/projects/RefactoringTestProject-war/bin
./seam/tests/org.jboss.tools.seam.ui.test/projects/TestSeamSettingsPreferencesPage/bin
./workingset/tests/org.jboss.tools.workingset.core.test/bin
some of these contained .class files too but I'm 99,99% sure they are
just bogus and not needed in svn.
For the last 0,01% chance that it is a problem i'm posting it here in
case someone knows better.
p.s. please remember to not commit build directories and add them to
svn:ignore :)
15 years, 6 months