October 29, 2018 at 8:25 PM
Hi,
The Spring Expression Language (SpEL) is a very useful library provided by Spring Framework. This is very powerful expression language that which is used for querying and manipulating an object graph at runtime.
You can use either XML or annotation-based Spring configurations to use the library in your project.
Here are list of operators available with it:
Type Operators
Arithmetic +, -, *, /, %, ^, div, mod
Relational <, >, ==, !=, <=, >=, lt, gt, eq, ne, le, ge
Logical and, or, not, &&, ||, !
Conditional ?:
Regex matches
If you can want to use this library in your project then add following line of code in your pom.xml file:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>5.1.2.RELEASE</version>
</dependency>
Gradle users can add following code:
compile group: 'org.springframework', name: 'spring-expression', version: '5.1.2.RELEASE'
Following is code for SBT tool:
libraryDependencies += "org.springframework" % "spring-expression" % "5.1.2.RELEASE"
Thanks
Related Tutorials/Questions & Answers:
spring-expression maven dependencyspring-
expression maven dependency Hi,
What is
maven dependency of latest version of
spring-
expression?
What code should i add to get
spring-
expression maven dependency in my project?
Thanks
Hi,
The
Spring Advertisements
Maven Dependency maven >> 1.0You should include the
dependency code given in this page to add
Maven Dependency of
maven >>
maven version1.0 in your project
Maven Dependency maven >> 1.0.1You should include the
dependency code given in this page to add
Maven Dependency of
maven >>
maven version1.0.1 in your project
Maven Dependency maven >> 1.0.2You should include the
dependency code given in this page to add
Maven Dependency of
maven >>
maven version1.0.2 in your project
Maven Dependency maven >> 1.1You should include the
dependency code given in this page to add
Maven Dependency of
maven >>
maven version1.1 in your project
Maven Dependency maven >> 8.1.0You should include the
dependency code given in this page to add
Maven Dependency of com.cedarsoft >>
maven version8.1.0 in your project
Maven Dependency maven >> 8.1.1You should include the
dependency code given in this page to add
Maven Dependency of com.cedarsoft >>
maven version8.1.1 in your project
Hibernate maven dependency exampleHibernate
maven dependency example Hi,
How to add the
maven dependency in Hibernate based application?
What
dependency should I add in the pom.xml file of the
maven Hibernate project?
Thanks