Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit 6664acc

Browse files
committed
refix ApplicationInformation.GrantTypes ref:
#204
1 parent 75fdcf2 commit 6664acc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/java/org/energyos/espi/common/domain/ApplicationInformation.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -367,14 +367,10 @@ public class ApplicationInformation
367367
@CollectionTable(name="application_information_scopes", joinColumns=@JoinColumn(name="application_information_id"))
368368
private Set<String> scope = new HashSet<>();
369369

370-
371-
@XmlElementWrapper(name="grant_types")
372-
@XmlElement(name = "grant_type")
373-
// @XmlSchemaType(name = "GrantType")
370+
@XmlElement(name = "grant_types")
374371
@ElementCollection(targetClass=GrantType.class)
375372
@LazyCollection(LazyCollectionOption.FALSE)
376373
@JoinTable(name="application_information_grant_types", joinColumns=@JoinColumn(name="application_information_id"))
377-
// @CollectionTable(name="application_information_grant_types", joinColumns=@JoinColumn(name="application_information_id"))
378374
@Enumerated(EnumType.STRING)
379375

380376
protected Set<GrantType> grantTypes = new HashSet<GrantType>();

0 commit comments

Comments
 (0)