Hi,

I don't know where it is converted to lowercase, so I'm afraid I can't help
here.

However, I would not use the column names "FROM" and "TO" (quoted or
unquoted).

Regards,
Thomas


On Sun, Mar 8, 2015 at 7:09 PM, wener <[email protected]
<javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:

> @Data
> @Accessors(chain = true, fluent = true)
> @Entity
> @Table(name = "T_CHAT_MESSAGE")
> public class ChatMessage implements Serializable
> {
>     @Id
>     @GeneratedValue
>     private Long id;
>
>     private Date data;
>     @Column(length = 4000)
>     private String content;
>     @Column(name = "`FROM`", length = 20)
>     private String from;
>     @Column(name = "`TO`", length = 20)
>     private String to;
>     @Column(length = 20)
>     private String fromNumber;
>     @Column(length = 20)
>     private String toNumber;
> }
>
>
>
> In above code, the from column in database become `from', not
> Uppercased,so, can not be selected.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to