[JBoss JIRA] (JBIDE-14305) Error popup when runing schema ddl with Hibernate Configurations
by Andrei Ivanov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14305?page=com.atlassian.jira.plugi... ]
Andrei Ivanov edited comment on JBIDE-14305 at 9/9/14 10:41 AM:
----------------------------------------------------------------
When I remove the logging deps in pom.xml, I get a new exception :(
{noformat}
java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.SimpleHash
at org.hibernate.tool.hbm2x.TemplateHelper.init(TemplateHelper.java:64)
at org.hibernate.tool.hbm2x.AbstractExporter.setupTemplates(AbstractExporter.java:140)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.jboss.tools.hibernate.proxy.ExporterProxy.start(ExporterProxy.java:70)
at org.hibernate.eclipse.console.common.ConsoleExtension$1.execute(ConsoleExtension.java:219)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)
at org.hibernate.eclipse.console.common.ConsoleExtension.runExporters(ConsoleExtension.java:182)
at org.hibernate.eclipse.console.common.ConsoleExtension.launchExporters(ConsoleExtension.java:110)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:266)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.jboss.tools.hibernate.jpt.ui.wizard.GenerateEntitiesWizard$1.runInWorkspace(GenerateEntitiesWizard.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{noformat}
After I install FreeMarker IDE it works, so I guess Hibernate Tools needs to declare a dependency for freemarker.
was (Author: andrei.ivanov):
When I remove the logging deps in pom.xml, I get a new exception :(
{noformat}
java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.SimpleHash
at org.hibernate.tool.hbm2x.TemplateHelper.init(TemplateHelper.java:64)
at org.hibernate.tool.hbm2x.AbstractExporter.setupTemplates(AbstractExporter.java:140)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.jboss.tools.hibernate.proxy.ExporterProxy.start(ExporterProxy.java:70)
at org.hibernate.eclipse.console.common.ConsoleExtension$1.execute(ConsoleExtension.java:219)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)
at org.hibernate.eclipse.console.common.ConsoleExtension.runExporters(ConsoleExtension.java:182)
at org.hibernate.eclipse.console.common.ConsoleExtension.launchExporters(ConsoleExtension.java:110)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:266)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.jboss.tools.hibernate.jpt.ui.wizard.GenerateEntitiesWizard$1.runInWorkspace(GenerateEntitiesWizard.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{noformat}
> Error popup when runing schema ddl with Hibernate Configurations
> -----------------------------------------------------------------
>
> Key: JBIDE-14305
> URL: https://issues.jboss.org/browse/JBIDE-14305
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Reporter: labdoui labdoui
> Assignee: Koen Aers
> Priority: Minor
> Fix For: 4.2.0.CR1
>
>
> Using Hibernate 4, and slf4j 1.7.2, I can't runing my ddl schema
> to reproduce the problem just explore the database from hibernate console
> java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
> at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
> at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:26)
> at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:476)
> at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$2.execute(LazyDatabaseSchemaWorkbenchAdapter.java:116)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:107)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:63)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
> at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBTIS-319) JBDS-IS 8.0.0.Alpha1 contains old version of drools plugin
by Andrej Podhradsky (JIRA)
Andrej Podhradsky created JBTIS-319:
---------------------------------------
Summary: JBDS-IS 8.0.0.Alpha1 contains old version of drools plugin
Key: JBTIS-319
URL: https://issues.jboss.org/browse/JBTIS-319
Project: JBoss Tools Integration Stack
Issue Type: Bug
Components: distribution
Affects Versions: 8.0.0.Alpha1
Environment: JBDS 8.0.0.Beta3 + JBDS-IS 8.0.0.Alpha1
Reporter: Andrej Podhradsky
Assignee: Paul Leacu
Priority: Critical
JBDS-IS 8.0.0.Alpha1 contains drools plugin of version 6.0.1.Final.
JBDS-IS 7.0.2.GA contains drools plugin of version 6.0.3.201406040014.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17399) Run configurations don't show set iOS sdk correctly
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17399?page=com.atlassian.jira.plugi... ]
Gorkem Ercan commented on JBIDE-17399:
--------------------------------------
Fixed on Eclipse Thym will update 4.2.0 RC1 respin-b with the updated version
> Run configurations don't show set iOS sdk correctly
> ---------------------------------------------------
>
> Key: JBIDE-17399
> URL: https://issues.jboss.org/browse/JBIDE-17399
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Environment: Mac OS X 10.9.2
> Java version 1.7.0_51
> JBDS 8 Beta 1
> Reporter: Tadeas Kriz
> Assignee: Gorkem Ercan
> Labels: respin-b
> Fix For: 4.2.0.CR1
>
>
> When user changes iOS sdk for iOS simulator run configuration, it does get applied internally (it uses the selected SDK for compilation), but when the user opens the Run Configurations dialog, it shows iOS 6.1 SDK.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-14305) Error popup when runing schema ddl with Hibernate Configurations
by Andrei Ivanov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14305?page=com.atlassian.jira.plugi... ]
Andrei Ivanov commented on JBIDE-14305:
---------------------------------------
When I remove the logging deps in pom.xml, I get a new exception :(
{noformat}
java.lang.NoClassDefFoundError: Could not initialize class freemarker.template.SimpleHash
at org.hibernate.tool.hbm2x.TemplateHelper.init(TemplateHelper.java:64)
at org.hibernate.tool.hbm2x.AbstractExporter.setupTemplates(AbstractExporter.java:140)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.jboss.tools.hibernate.proxy.ExporterProxy.start(ExporterProxy.java:70)
at org.hibernate.eclipse.console.common.ConsoleExtension$1.execute(ConsoleExtension.java:219)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)
at org.hibernate.eclipse.console.common.ConsoleExtension.runExporters(ConsoleExtension.java:182)
at org.hibernate.eclipse.console.common.ConsoleExtension.launchExporters(ConsoleExtension.java:110)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:266)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.jboss.tools.hibernate.jpt.ui.wizard.GenerateEntitiesWizard$1.runInWorkspace(GenerateEntitiesWizard.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{noformat}
> Error popup when runing schema ddl with Hibernate Configurations
> -----------------------------------------------------------------
>
> Key: JBIDE-14305
> URL: https://issues.jboss.org/browse/JBIDE-14305
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Reporter: labdoui labdoui
> Assignee: Koen Aers
> Priority: Minor
> Fix For: 4.2.0.CR1
>
>
> Using Hibernate 4, and slf4j 1.7.2, I can't runing my ddl schema
> to reproduce the problem just explore the database from hibernate console
> java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
> at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
> at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:26)
> at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:476)
> at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$2.execute(LazyDatabaseSchemaWorkbenchAdapter.java:116)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:107)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:63)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
> at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-14305) Error popup when runing schema ddl with Hibernate Configurations
by Andrei Ivanov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14305?page=com.atlassian.jira.plugi... ]
Andrei Ivanov commented on JBIDE-14305:
---------------------------------------
- Eclipse Luna (eclipse-jee-luna-R-win32-x86_64.zip)
- http://download.jboss.org/jbosstools/updates/staging/luna/jbosstools-4.2....
-- select just Hibernate Tools (eclipse-jee-luna-R-win32-x86_64.zip)
- create new workspace
- create new maven project
-- select 'Create a simple project'
-- after it's created, paste the project data from my comment in the {{pom.xml}}, but comment out the logging dependencies
-- update the Maven project configuration (select the project the project explorer and ALT + F5)
-- convert project to faceted form
-- enable the JPA facet (2.1)
--- click the 'further configuration required' link
--- select Hibernate (JPA 2.1) for Platform
--- select 'Disable Library Configuration' for Type in JPA implementation
--- select 'Add connection...'
--- create new connection (I use MySQL here)
--- select 'Discover annotated classes automatically'
--- (no persistence.xml manually created, just the Eclipse generated one)
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
<persistence-unit name="JBIDE-14305">
</persistence-unit>
</persistence>
{code}
--- open the Hibernate configurations view
--- right click, select add new configuration
--- in the main tab, select JPA, Hibernate version 4.3, our project, the previously defined db connection and the 'JBIDE-14305' persistence unit, finish
--- expand the new hibernate config, expand database, the databases should be visible
--- in pom.xml enable the logging deps
--- clean/build project
--- rebuild the hibernate config
--- right click on the project, select 'Generate entities from tables' from JPA tools (select the hibernate config)
{noformat}
java.lang.ClassNotFoundException: org.apache.log4j.Priority cannot be found by org.jboss.tools.hibernate4_3_4.0.0.CR1-v20140905-2307-B72
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:336)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:328)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(Unknown Source)
at freemarker.log.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:65)
at freemarker.log.Logger.getLogger(Logger.java:255)
at freemarker.ext.beans.BeanModel.<clinit>(BeanModel.java:98)
at freemarker.ext.beans.BeansWrapper.<init>(BeansWrapper.java:153)
at freemarker.template.DefaultObjectWrapper.<init>(DefaultObjectWrapper.java:68)
at freemarker.template.WrappingTemplateModel.<init>(WrappingTemplateModel.java:110)
at freemarker.template.WrappingTemplateModel.<init>(WrappingTemplateModel.java:97)
at freemarker.template.SimpleCollection.<init>(SimpleCollection.java:86)
at freemarker.template.GeneralPurposeNothing.<clinit>(GeneralPurposeNothing.java:71)
at freemarker.template.TemplateModel.<clinit>(TemplateModel.java:73)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at freemarker.ext.beans.BeansWrapper.class$(BeansWrapper.java:111)
at freemarker.ext.beans.BeansWrapper.<clinit>(BeansWrapper.java:122)
at freemarker.template.WrappingTemplateModel.<clinit>(WrappingTemplateModel.java:63)
at org.hibernate.tool.hbm2x.TemplateHelper.init(TemplateHelper.java:64)
at org.hibernate.tool.hbm2x.AbstractExporter.setupTemplates(AbstractExporter.java:140)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:93)
at org.jboss.tools.hibernate.proxy.ExporterProxy.start(ExporterProxy.java:70)
at org.hibernate.eclipse.console.common.ConsoleExtension$1.execute(ConsoleExtension.java:219)
at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)
at org.hibernate.eclipse.console.common.ConsoleExtension.runExporters(ConsoleExtension.java:182)
at org.hibernate.eclipse.console.common.ConsoleExtension.launchExporters(ConsoleExtension.java:110)
at org.hibernate.eclipse.launch.CodeGenerationLaunchDelegate.launch(CodeGenerationLaunchDelegate.java:266)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
at org.jboss.tools.hibernate.jpt.ui.wizard.GenerateEntitiesWizard$1.runInWorkspace(GenerateEntitiesWizard.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{noformat}
Seems the exception is now different.
> Error popup when runing schema ddl with Hibernate Configurations
> -----------------------------------------------------------------
>
> Key: JBIDE-14305
> URL: https://issues.jboss.org/browse/JBIDE-14305
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Reporter: labdoui labdoui
> Assignee: Koen Aers
> Priority: Minor
> Fix For: 4.2.0.CR1
>
>
> Using Hibernate 4, and slf4j 1.7.2, I can't runing my ddl schema
> to reproduce the problem just explore the database from hibernate console
> java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
> at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
> at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:26)
> at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:476)
> at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$2.execute(LazyDatabaseSchemaWorkbenchAdapter.java:116)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:107)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:63)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
> at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17630) Duplicate/missing seam runtimes when there are 2 or more of the same version
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17630?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-17630.
---------------------------------
OK, the first issue is fixed - there can be more than one seam runtimes of the same version and they don't replace one another.
But the second issue remains - I actually isolated the issue and reported it separately here: JBIDE-18294
Verified in JBDS 8.0.0.CR1 B225
> Duplicate/missing seam runtimes when there are 2 or more of the same version
> ----------------------------------------------------------------------------
>
> Key: JBIDE-17630
> URL: https://issues.jboss.org/browse/JBIDE-17630
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: runtime-detection, seam2
> Affects Versions: 4.2.0.Beta2
> Environment: JBDS 8.0.0.Beta2c B130
> Reporter: Martin Malina
> Assignee: Snjezana Peco
> Fix For: 4.2.0.CR1
>
>
> When you detect runtimes in EAP 5.1 and then EAP 5.2, you end up with just one seam runtime in the IDE (both have Seam 2.2). When you then start with a new workspace and select to add just one of the runtimes, both get added.
> I hope you don't mind me combining two issues into one since they are closely related.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18294) In runtime detection of EAP 5, when you uncheck the EAP server in the results, the seam runtime is still added
by Martin Malina (JIRA)
Martin Malina created JBIDE-18294:
-------------------------------------
Summary: In runtime detection of EAP 5, when you uncheck the EAP server in the results, the seam runtime is still added
Key: JBIDE-18294
URL: https://issues.jboss.org/browse/JBIDE-18294
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: runtime-detection, seam2
Affects Versions: 4.2.0.CR1
Reporter: Martin Malina
Priority: Minor
This is a followup of JBIDE-17630 which contained two issues and one is still outstanding:
When you search for runtimes and EAP 5.x (including seam) is found, by default the entry is collapsed and you can expand it to see the seam runtime included with the eap server.
If you uncheck the eap server, the seam runtime beneath will still be checked. This can be confusing. I believe checking/unchecking the eap server should affect the seam runtime as well.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-16265) JPA validation reports Strategy class "uuid2" could not be found
by Jiri Peterka (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16265?page=com.atlassian.jira.plugi... ]
Jiri Peterka closed JBIDE-16265.
--------------------------------
Verified with JBDS 8.0.0.CR1a, Fedora 20_64
> JPA validation reports Strategy class "uuid2" could not be found
> ----------------------------------------------------------------
>
> Key: JBIDE-16265
> URL: https://issues.jboss.org/browse/JBIDE-16265
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.1.1.CR1
> Reporter: Jim Boettcher
> Assignee: Max Rydahl Andersen
> Priority: Minor
> Labels: respin-a
> Fix For: 4.2.0.CR1
>
>
> An Entity class with the following:
> @Id
> @GeneratedValue(generator = "system-uuid")
> @GenericGenerator(name = "system-uuid", strategy = "uuid2")
> @Column(name = "id", unique = true)
> private UUID id;
>
> gives the error:
> Strategy class "uuid2" could not be found
> changing the strategy to "uuid" will clear the error.
>
> My Project Facet has JPA 2.0
> The JPA configuration has:
> Platform: Hibernate (JPA 2.0)
> JPA implementation:
> Disable Library Configuration
> the Hibernate jars are on the project classpath
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months