Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TEIID-5088 TEIID-5089 Fix when add @Cache annotation, was missing enc…
…losing paren (#1025) * Fix when add @Cache annotation, was missing enclosing paren * added testcase to the fix for adding @Cache
- Loading branch information
Showing
3 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
connectors/infinispan/translator-infinispan-hotrod/src/test/resources/tables_bad.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package pm1; | ||
|
||
/* @Indexed @Cache(name=foo) */ | ||
message G1 { | ||
/* @Id @IndexedField(index=true, store=false) */ | ||
required int32 e1 = 1; | ||
/* @IndexedField */ | ||
required string e2 = 2; | ||
optional float e3 = 3; | ||
/* @IndexedField(index=true, store=false) */ | ||
repeated string e4 = 4; | ||
repeated string e5 = 5; | ||
} |