English 中文(简体)
Jboss don tmap my auto-generate entities category with hibernate-tools
原标题:Jboss doesn t map my auto-generate entity class with hibernate-tools

当我把我自动生成的实体类别带上3.2.4-GA的猎物,进入Jbos 61.0-Final时,就发生了奇怪的事情。 我坚持不懈。

<class>package.server.persistence.base.entity.Groups</class>

I found the issue in a hibernate-tools bug: here

我的实体在最后几个字塔附近产生了一条奇怪的新线:

/** * Groups generated by hbm2java */
@Entity
@Table(name="GROUPS"
)
public class Groups  implements java.io.Serializable {

if I manually set:

@Entity
@Table(name="GROUPS")
public class Groups...

一切工作罚款:

2012-01-12 17:52:46,489 INFO [org.hibernate.cfg.AnnotationBinder] (http-0.0.0.0-8080-2) Binding entity from annotated class: package.server .persistence.base.entity.Groups 2012-01-12 17:52:46,490 INFO [org.hibernate.cfg.annotations.EntityBinder] (http-0.0.0.0-8080-2) Bind entity package.server.persistence.base.entity.Groups on table GROUPS

<>strong>edit: 如果我与jUnit实体进行了正确配置的测试,即使它们在通知上有“新线”。 因此,这似乎是一个小船问题。

Please, any help will be much appreciated.

问题回答

就像你所说的那样,这是藏匿器。 i 在上一个采矿项目中使用第6号小船时也进入该区。

它是目前尚未解决的,是解放3.3.0beta1的固定点,但不幸的是,至今没有工作或解决办法(至少是我知道的)。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签