[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4684?page=c...
]
Scott Marlow commented on HHH-4684:
-----------------------------------
Updated org.hibernate.test.annotations.entity.Forest to include @ElementCollection of @Lob
values:
@Lob
@ElementCollection
public Set<Country> getNear() {
return near;
}
public void setNear(Set<Country>near) {
this.near = near;
}
Also changed
org.hibernate.test.annotations.entity.BasicHibernateAnnotationsTest.testSerialized() to
use the nearby countries. Worked fine.
Created test tables:
13:48:03,699 DEBUG SchemaExport:377 -
create table Forest (
id integer generated by default as identity (start with 1),
bigText varchar(255),
country longvarbinary,
length bigint not null,
longDescription longvarchar,
name varchar(255),
smallText varchar(255),
primary key (id)
)
13:48:03,700 DEBUG SchemaExport:377 -
create table Forest_near (
Forest_id integer not null,
element longvarbinary
)
Make sure @Lob works with @ElementCollection
--------------------------------------------
Key: HHH-4684
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4684
Project: Hibernate Core
Issue Type: Sub-task
Components: annotations
Reporter: Emmanuel Bernard
Assignee: Scott Marlow
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira